I have a single table that captures the working time of 3 different groups of people: A, B and C. For any given project, I always want to select the time for the A and B groups, but I only want to report the C group time if time exists for either the A or B group. Confused? Good, so am I!
Sample Data:
PROJ_ID GROUP HOURS
1111 A 10
1111 C 12
2222 B 5
3333 C 8
In this case, I want the query to return 1111 and 2222 only. Since neither A nor B exists for 3333, it should not be returned by the query.
Please help!! THANKS!
Jennie
Sample Data:
PROJ_ID GROUP HOURS
1111 A 10
1111 C 12
2222 B 5
3333 C 8
In this case, I want the query to return 1111 and 2222 only. Since neither A nor B exists for 3333, it should not be returned by the query.
Please help!! THANKS!
Jennie