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
Can you list all the names of the students who have the position of striker?
assistant
SELECT T1.pName FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID WHERE T2.pPos = 'striker';
human
Can you also list the tryout decision they got please?
assistant
SELECT T1.pName , T2.decision FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID WHERE T2.pPos = 'striker';
human
What are the names and positions of all players who got a no for their tryout decision?
assistant
SELECT T1.pName , T2.pPos FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID WHERE T2.decision = "no" ;