I am trying to page some data that isn't really the best, it has some duplicates but I have been told this is the way the system has to be (it imports data from another source). Below is an example of the data:CREATE TABLE Test ( [ID] int PRIMARY KEY, memberID int, title varchar(50))GOINSERT INTO TEST VALUES (1,1,'A')GOINSERT INTO TEST VALUES (2,1,'A')GOINSERT INTO TEST VALUES (3,2,'B')GOINSERT INTO TEST VALUES (4,3,'C')GOINSERT INTO TEST VALUES (5,3,'C')GOINSERT INTO TEST VALUES (6,3,'D')GO
From this I would only like to return records 1,3,4 and 6, but I still need to return all the data so I just can't just select DISTINCT. I also thought I could just return all the rows, then in my app only show the row if the previous row had different data, but I am paging my data and doing this would cause problems with the number of records I would tell the user I am returning (I am using this paging technique - http://www.aspfaqs.com/webtech/062899-1.shtml).Any ideas on how I can just return those 4 rows?