Table schema:
CREATE TABLE table_name_40 (date VARCHAR, constructor VARCHAR)

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