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 are the names of all the players?
assistant
SELECT pName FROM Player;
human
Which of those received a card?
assistant
SELECT pName FROM Player WHERE yCard = 'yes';
human
Set them in descending order of hours spent training.
assistant
SELECT pName FROM Player WHERE yCard = "yes" ORDER BY HS DESC ;