Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get Record With Highest Value...?
Message
General information
Forum:
Oracle
Category:
PL/SQL
Miscellaneous
Thread ID:
01118889
Message ID:
01119368
Views:
14
You won't be able to do it with one statement. This has got to be a classic problem althought I've never really read anything about it. I've ran in to similar situations before where I wished there was a way to do a modified "Group by" but instead of actually grouping the records you could specify which record out the group you are interested, like the top or bottom record of the group. Unfortunatly you'll have to brute-force this one as you've found one of the limitiations of SQL.
Rip Ryness
International Falls, MN
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform