Context: CREATE TABLE table_name_40 (date VARCHAR, constructor VARCHAR)
Question: What dates did Ferrari win races?
Answer: SELECT date FROM table_name_40 WHERE constructor = "ferrari"