Classes that sID = '03' is taking:
Select cID from StudentsInClasses where sID = '03'
Students who at some time took the same class as sID = '03' (including sID = '03'):
Select
sID
From
StudentsInClasses
Where
cID in (Select cID from StudentsInClasses where sID = '03')
EliThompson
2010-07-30 14:22:17