Joe4
MrExcel MVP, Junior Admin
- Joined
- Aug 1, 2002
- Messages
- 73,485
- Office Version
- 365
- Platform
- Windows
Given a table with three fields, Name, Date, and Amount, I want to write a query (in Access Query Builder or SQL, NOT in VBA) that will return the single record with the greatest value in the Amount field.
For example, if my data were:
It would simply return:
It seems to me that this should be easy, and I may be having a brain cramp here.
For example, if my data were:
Code:
NAME DATE AMOUNT
Adam 6/17/04 100
Bret 7/18/04 200
Cris 8/14/04 50
Code:
Bret 7/18/04 200