Hello,
Please assist me in framing the query as explained below.
from the above records, I want to Get the Record with the earliest date alone, that is, the expected result set is like this
In case the dates are equal for a country, the first one needs to be considered.
How to do this ? Kindly help. Thank you,
RR.
__________________________________
The best is yet to come.
Please assist me in framing the query as explained below.
Code:
NAME COUNTRY CITY DATE
Dave Murphy USA Dallas 01/01/2002
Dave Murphy USA Washington DC 01/02/2002
Dave Murphy USA Miami 01/03/2002
Dave Murphy USA New York City 01/04/2002
Dave Murphy UK London 02/01/2002
Dave Murphy UK Manchester 02/01/2002
Sony Aibo UK Manchester 02/01/2002
from the above records, I want to Get the Record with the earliest date alone, that is, the expected result set is like this
Code:
NAME COUNTRY CITY DATE
Dave Murphy USA Dallas 01/01/2002
Dave Murphy UK London 02/01/2002
Sony Aibo UK Manchester 02/01/2002
In case the dates are equal for a country, the first one needs to be considered.
How to do this ? Kindly help. Thank you,
RR.
__________________________________
The best is yet to come.