I have a table that has dozens of records for each identifier. I need to get one record for each identifier, and the record has to be the one with the maximum value in one of the fields:
e.g.
ID VALUE
1 5
1 7
1 4
2 2
2 4
2 6
I'd only want to return 1/7 and 2/6 in the result set. Any thoughts on how to do this? Thanks.