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!

Count for each group and sub-group

Gor_MahiaJul 2 2012 — edited Jul 4 2012
Hi,
I am writing a query to display group count and another count for the second group , something like this,
select id, names, dept, loc, country, gender from details group by dept, loc and also display their counts(for dept and loc).....it seems iam forgetting my sql here.....any help.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 1 2012
Added on Jul 2 2012
14 comments
4,585 views