What year did the Cosworth v8 engine participate in?
CREATE TABLE table_name_37 (year INTEGER, engine VARCHAR)
SELECT AVG(year) FROM table_name_37 WHERE engine = "cosworth v8"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (year INTEGER, engine VARCHAR) Question: What year did the Cosworth v8 engine participate in? [/INST] SELECT AVG(year) FROM table_name_37 WHERE engine = "cosworth v8" </s>