sciwizam
Golden Member
I need to display the entire row for the maximum value in a group
For example,
Something like the above with 10 names and the for over 1 month.
What I would like to see is
Is this possible?
For example,
Code:
Time Name Type Quantity
-----------------------------------------------
2010-05-01 08:00:00 John Apple 20
2010-05-01 12:00:00 John Plum 25
2010-05-01 14:00:00 John Lime 19
2010-05-01 16:00:00 John Apple 22
2010-05-01 17:00:00 John Cherry 24
2010-05-01 19:00:00 John Pear 19
2010-05-01 08:00:00 Bob Cherry 29
2010-05-01 12:00:00 Bob Lemon 22
2010-05-01 14:00:00 Bob Pear 14
2010-05-01 16:00:00 Bob Mango 20
2010-05-01 17:00:00 Bob Banana 21
2010-05-01 19:00:00 Bob Apple 27
What I would like to see is
Code:
Time Name Type Quantity
-----------------------------------------------
2010-05-01 08:00:00 John Plum 25
2010-05-01 19:00:00 Bob Apple 27
...
...
...
...
2010-05-31 12:00:00 John Cherry 32
2010-05-31 14:00:00 Bob Apple 44
...
2010-05-31 16:00:00 Stan Banana 35
Last edited: