i have one table with the follwing recordset:
groupname price date
aaa 1.00 13/06/2002
aaa 2.00 01/07/2002
aaa - 01/06/2002
bbb 1.00 01/08/2002
cc 5.00 03/06/2002
cc - 18/05/2002
how to get all the frist row in each group (groupname) order by date desc?? means that i want to select the following result out.
aaa 2.00 01/07/2002
bbb 1.00 01/08/2002
cc 5.00 03/06/2002
Looking forward for help.....A bit urgent here. Please do give some advice. TQ in advance for ur help!
Regards,
yukeshean
groupname price date
aaa 1.00 13/06/2002
aaa 2.00 01/07/2002
aaa - 01/06/2002
bbb 1.00 01/08/2002
cc 5.00 03/06/2002
cc - 18/05/2002
how to get all the frist row in each group (groupname) order by date desc?? means that i want to select the following result out.
aaa 2.00 01/07/2002
bbb 1.00 01/08/2002
cc 5.00 03/06/2002
Looking forward for help.....A bit urgent here. Please do give some advice. TQ in advance for ur help!
Regards,
yukeshean