Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Oracle 8i SQL Sources
Message
 
 
À
23/10/2000 04:09:38
Information générale
Forum:
Oracle
Catégorie:
Autre
Divers
Thread ID:
00432708
Message ID:
00432970
Vues:
20
>you can either do
>select a,b,c from mytable group by a,b,c;
>or
>select a,b from mytable group by a,b;
>
>but not
>select a,b,c from mytable group by a,b;
>
>Sorry if that's not the answer you are looking for...

But you can do this:

select a,b, aggregate_function(c) from mytable group by a,b;

Where aggregate_function is something like sum(), min(), max(), count(), etc.
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform