How many games had 2 goals scored?
CREATE TABLE table_name_89 (games_played INTEGER, goals_scored VARCHAR)
SELECT SUM(games_played) FROM table_name_89 WHERE goals_scored = "2"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (games_played INTEGER, goals_scored VARCHAR) Question: How many games had 2 goals scored? [/INST] SELECT SUM(games_played) FROM table_name_89 WHERE goals_scored = "2" </s>