I have a table:
ID Title Date
30 1 10/10/2010
20 1 10/11/2010
40 2 01/01/2010
i need a way to select distinct titles with max dates.
so when title is 1, i should have the second row selected since the date in the 1st row is smaller than the date in the second row.
as a result the query should return:
20 1 10/11/2010
40 2 01/01/2010