human
Schema:
College (cName, state, enr)
Player (pID, pName, yCard, HS)
Tryout (pID, cName, pPos, decision)
Please answer with SQL.
assistant
Sure, I understand.
human
What can you tell me about the students who made the team?
assistant
SELECT * FROM tryout WHERE decision = 'yes';
human
of those, who tried out for the position of goalie?
assistant
SELECT * FROM tryout WHERE decision = 'yes' AND pPos = 'goalie';
human
What college do they attend?
assistant
SELECT cName FROM tryout WHERE decision = "yes" AND pPos = "goalie" ;