Show all sport name and the number of students.
CREATE TABLE Sportsinfo (sportname VARCHAR)
SELECT sportname, COUNT(*) FROM Sportsinfo GROUP BY sportname
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Sportsinfo (sportname VARCHAR) Question: Show all sport name and the number of students. [/INST] SELECT sportname, COUNT(*) FROM Sportsinfo GROUP BY sportname </s>