Which Matches have a Rank smaller than 5, a Years of 1995–2003, and a Goals smaller than 104?
CREATE TABLE table_name_67 (matches INTEGER, goals VARCHAR, rank VARCHAR, years VARCHAR)
SELECT AVG(matches) FROM table_name_67 WHERE rank < 5 AND years = "1995–2003" AND goals < 104
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (matches INTEGER, goals VARCHAR, rank VARCHAR, years VARCHAR) Question: Which Matches have a Rank smaller than 5, a Years of 1995–2003, and a Goals smaller than 104? [/INST] SELECT AVG(matches) FROM table_name_67 WHERE rank < 5 AND years = "1995–2003" AND goals < 104 </s>