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
How many student in total participate in the tryout?
assistant
SELECT COUNT( * ) FROM tryout;
human
For which colleges?
assistant
SELECT COUNT( * ) , cName FROM tryout GROUP BY cName;
human
Can I see that list in a descending order based on student count?
assistant
SELECT COUNT( * ) , cName FROM tryout GROUP BY cName ORDER BY COUNT( * ) DESC ;