CREATE TABLE table_name_37 (year INT, engine VARCHAR)

What year did the Cosworth v8 engine participate in?
SELECT AVG(year) FROM table_name_37 WHERE engine = "cosworth v8"
SELECT AVG("year") FROM "table_name_37" WHERE "cosworth v8" = "engine"