CREATE TABLE Sportsinfo (StuID VARCHAR(255), major VARCHAR(255), onscholarship VARCHAR(255)); CREATE TABLE Student (StuID VARCHAR(255), major VARCHAR(255), onscholarship VARCHAR(255))
Show student ids who are on scholarship and have major 600.
    
SQL: SELECT StuID FROM Student WHERE major = 600 INTERSECT SELECT StuID FROM Sportsinfo WHERE onscholarship = 'Y'