CREATE TABLE table_name_39 (year NUMBER, engine VARCHAR2, points VARCHAR2)

what's the earliest year that there was a cosworth v8 engine and 12 points?
SELECT MIN(year) FROM table_name_39 WHERE engine = "cosworth v8" AND points = 12
SELECT MIN("year") FROM "table_name_39" WHERE "cosworth v8" = "engine" AND "points" = 12