QUESTION POSED ON: 11 September 2008
I have a table like this (two columns)
std_id skill
1 Java
1 J2EE
1 Struts
2 Java
2 J2EE
3 Java
3 J2EE
3 Struts
Now I want to retrieve student IDs (std_id's) for those students that have three skills: Java, J2EE, Struts. Each student
must posses all skills, which means my answer should be as follows:
std_id
1
3
How do I write this query?
|