Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get Record With Highest Value...?
Message
Information générale
Forum:
Oracle
Catégorie:
PL/SQL
Divers
Thread ID:
01118889
Message ID:
01119368
Vues:
15
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform