ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  SQL Subqueries
Subject:   subqueries
Date:   2003-05-15 11:32:27
From:   anonymous2
how do you do a subquery where you are using a composite primary key for example:

select courseID, studentID
from whatever
where courseID AND? StudentID IN (
select courseID, studentID
from somewhereelse

1 to 2 of 2
1 to 2 of 2