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!

Query to Find the Student ids by group

955544Oct 22 2012 — edited Oct 22 2012
Hi,

I have a table which has 2 columns student_id and Course_id.

Sample Data

Student_id Course_id
-------------------------------
1 --> 1
1 --> 2
1 --> 3
1 --> 4
2 --> 1
2 --> 3
3 --> 1
3 --> 2
3 --> 4
I want to find those students who have taken all the courses 1,3,4.
This post has been answered by 1025535 on Oct 22 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 19 2012
Added on Oct 22 2012
5 comments
195 views