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
find the name and college of students whose player position are goalie in the tryout
assistant
SELECT T1.pName , T2.cName FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID WHERE T2.pPos = 'goalie';
human
find the training hours for the player id 10001
assistant
SELECT hs FROM PLAYER WHERE pID = "10001" ;