dsundy2003
New Member
- Joined
- Dec 26, 2002
- Messages
- 40
Hi there
I have a table with 2 fields, and say 3 rows (to keep it simple)
Customet No. Date
-------------- ------
001 1/1/2003
002 30/12/2003
003 15/7/2003
How do I write a query to retrn the customer No and the date for the largest date. In the above example, it will return 002 and 30/12/2003. I tried using the MAX function on the 'Date' field, but it doesnt work.
I have a more complicated query with more variables, but this step is holding me back.
Pls advise
Darryn
I have a table with 2 fields, and say 3 rows (to keep it simple)
Customet No. Date
-------------- ------
001 1/1/2003
002 30/12/2003
003 15/7/2003
How do I write a query to retrn the customer No and the date for the largest date. In the above example, it will return 002 and 30/12/2003. I tried using the MAX function on the 'Date' field, but it doesnt work.
I have a more complicated query with more variables, but this step is holding me back.
Pls advise
Darryn