I'm trying to create a query that finds the max of a group of records and then displays all details about that record. Suppose this is my data:
Type Size Color Quantity
A L Green 5
A M Blue 7
B S Orange 2
B M Red 4
B L Purple 5
C M Red 10
C L Green 12
How can I get output as
Results:
Type Size Color Quantity
A M Blue 7
B L Purple 5
C L Green 12
I can get the max items with my one sort field ok, but if I want to add more fields it starts grouping them and making duplicates.
Any suggestions,
thanks
Type Size Color Quantity
A L Green 5
A M Blue 7
B S Orange 2
B M Red 4
B L Purple 5
C M Red 10
C L Green 12
How can I get output as
Results:
Type Size Color Quantity
A M Blue 7
B L Purple 5
C L Green 12
I can get the max items with my one sort field ok, but if I want to add more fields it starts grouping them and making duplicates.
Any suggestions,
thanks
Comment