CREATE TABLE table_name_40 (date VARCHAR, constructor VARCHAR)

What dates did Ferrari win races?
SELECT date FROM table_name_40 WHERE constructor = "ferrari"
SELECT "date" FROM "table_name_40" WHERE "constructor" = "ferrari"