MAX OF Question
am 20.12.2007 19:06:30 von laurenq uantrellI have a table looks like this:
PKID SomeData SomeMoreData IntegerValue
1 Stuff More Stuff 300
2 Cool Very Cool 400
3 Stuff Less Stuff 500
I want to write a GroupBy query that returns the PKID for the row
having the MAX value of IntegerValue grouped by SomeData. I know this
should be simple but can't think of it off hand.
I'm guessing there's a subquery here under PKID?
Any help is appreciated!
lq