Which Year has a Finish of 22, and a Team of swan?
CREATE TABLE table_name_37 (year INTEGER, finish VARCHAR, team VARCHAR)
SELECT AVG(year) FROM table_name_37 WHERE finish = "22" AND team = "swan"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (year INTEGER, finish VARCHAR, team VARCHAR) Question: Which Year has a Finish of 22, and a Team of swan? [/INST] SELECT AVG(year) FROM table_name_37 WHERE finish = "22" AND team = "swan" </s>