Consider the below table
ID Data Date
1 A 7/19/2011
1 A 6/12/2011
2 B 7/19/2011
2 B 8/5/2011
3 C 7/19/2011
Expected Output:-
ID Data Date
1 A 7/19/2011
2 B 8/5/2011
3 C 7/19/2011
The query has to select the rows whose date value is max among the all the values.
1 Answer