Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem Query
Message
 
 
To
19/07/2000 07:12:51
General information
Forum:
Oracle
Category:
PL/SQL
Title:
Miscellaneous
Thread ID:
00393781
Message ID:
00394300
Views:
9
>>ORDER BY must be the last clause
>
>That gives me the following:
>
>Result: Not a group by expression
>
>Query: Select course,subject,held,course_date,idtraining,count(training.course) from training group by training.course order by training.course
>
>This is the same situation I was in previously. ;-(

In Oracle, you have to GROUP BY every column that is not selected as an aggregate. In your example above you have to GROUP BY all 5 of the first columns.

Did you see my reply to this in the VFP forum?
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform