SELECT StuID FROM Student WHERE major  =  600 INTERSECT SELECT StuID FROM Sportsinfo WHERE onscholarship  =  'Y'
Show student ids who are on scholarship and have major 600.
SELECT StuID FROM Student WHERE major = 600 INTERSECT SELECT StuID FROM Sportsinfo WHERE onscholarship = 'Y '
select stuid from student where major = value intersect select stuid from sportsinfo where onscholarship = value
Show student ids who are on scholarship and have major 600 .