Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Can we use subquery in group by ?

learner1Mar 24 2010 — edited Mar 24 2010
Hi,

I am preparing for 11ig SQL certification , and while studying came across a doubt.

We can have a subquery for

SELECT
FROM
WHERE
HAVING

and we cannot have a subquery for ORDER BY clasuse

but my question is how about GROUP BY clause, can we use subquery in GROUP BY clause ?

The book which i am referring says we cannot have a subquery for GROUP BY, but surprisngly in practice questions at the end of chapter , it says opposite, which really confused me ..


Regards

Learner
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 21 2010
Added on Mar 24 2010
7 comments
9,818 views