Find the number of matches happened in each year.
CREATE TABLE matches (YEAR VARCHAR)
SELECT COUNT(*), YEAR FROM matches GROUP BY YEAR
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE matches (YEAR VARCHAR) Question: Find the number of matches happened in each year. [/INST] SELECT COUNT(*), YEAR FROM matches GROUP BY YEAR </s>