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
How many students are majoring in '600'?
assistant
SELECT COUNT( stuid ) FROM student WHERE major = 600;
human
Can you show me only those students?
assistant
SELECT stuid FROM student WHERE major = 600 ;