How many games are played for all students?
CREATE TABLE Sportsinfo (gamesplayed INTEGER)
SELECT SUM(gamesplayed) FROM Sportsinfo
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Sportsinfo (gamesplayed INTEGER) Question: How many games are played for all students? [/INST] SELECT SUM(gamesplayed) FROM Sportsinfo </s>