I have a table like this...
mobilenumber activationdate status
12345 01/01/2009 Pending
12345 01/04/2009 Pending
12345 04/06/2009 Active
12345 04/10/2009 Active
56789 12/01/2008 Pending
56789 03/02/2009 Pending
I need the output like this:
mobilenumber activationdate status
12345 04/10/2009 Active
56789 03/02/2009 Pending
Need to retrieve the latest acvitation date and the status of the mobilenumber in the table. What is the best way to do it?
Thanks,
Ramu