Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Oracle 8i SQL Sources
Message
 
 
To
23/10/2000 04:09:38
General information
Forum:
Oracle
Category:
Other
Miscellaneous
Thread ID:
00432708
Message ID:
00432970
Views:
19
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform