CREATE TABLE table_name_37 (year NUMBER, engine VARCHAR2)

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"