human
Schema:
Student (StuID, LName, Fname, Age, Sex, Major, Advisor, city_code)
Club (ClubID, ClubName, ClubDesc, ClubLocation)
Member_of_club (StuID, ClubID, Position)
Please answer with SQL.
assistant
Sure, I understand.
human
Tell me the first names of students whose advisor is 1121.
assistant
SELECT Fname FROM Student WHERE advisor = 1121;
human
Tell me the last names of students whose major is 600.
assistant
SELECT LName FROM Student WHERE major = 600 ;