Filter on Max Date ?
Posted: Tue Jun 25, 2013 2:33 pm
Hi,
I want to select unique records based on max date. Could you please suggest a best approach to achieve the below output?
Input:
ID--Date
1---10/11/2011
1---12/08/2005
1---01/15/2012
2---02/18/2010
2---03/04/2013
Output:
ID---Date
1---01/15/2012
2---03/04/2013
27-30 million records at input.
Thanks,
I want to select unique records based on max date. Could you please suggest a best approach to achieve the below output?
Input:
ID--Date
1---10/11/2011
1---12/08/2005
1---01/15/2012
2---02/18/2010
2---03/04/2013
Output:
ID---Date
1---01/15/2012
2---03/04/2013
27-30 million records at input.
Thanks,