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!

Multiple SELECT statements with COUNT that have different WHERE clauses.

2661188Apr 24 2014 — edited Apr 30 2014

Okay, so for a bit of background on what this is trying to accomplish..
I have a small group of people on my team and I will use GROUP BY for their names.
So each person will all be on their own row. Next to their names I want to be able to have multiple columns that use COUNT for distinct search criteria (no duplicates)

Overall it should have their names, and I want to add up the number of tickets each person has that meets certain criteria(all in different columns)
I have all of the queries that can do each of these tasks, but is there any way I can group the statements together on one table or use subqueries to get these results?

This post has been answered by BluShadow on Apr 25 2014
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 28 2014
Added on Apr 24 2014
10 comments
5,629 views