what's the earliest year that there was a cosworth v8 engine and 12 points?
CREATE TABLE table_name_39 (year INTEGER, engine VARCHAR, points VARCHAR)
SELECT MIN(year) FROM table_name_39 WHERE engine = "cosworth v8" AND points = 12
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (year INTEGER, engine VARCHAR, points VARCHAR) Question: what's the earliest year that there was a cosworth v8 engine and 12 points? [/INST] SELECT MIN(year) FROM table_name_39 WHERE engine = "cosworth v8" AND points = 12 </s>