Table has the following fields:
1. office
2. person
3. amount
I need to get list for every office, person with highest amount. In the format below:
Office, Person name, sum(amount)
Office #1 - John Smith - $1000
In the query I group by 'office', 'person'. It give me total amount but not for the correct person.
Can this be done in one query?