What dates did Ferrari win races?
CREATE TABLE table_name_40 (
    date VARCHAR,
    constructor VARCHAR
)
SELECT date FROM table_name_40 WHERE constructor = "ferrari"
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What dates did Ferrari win races? ### Input: CREATE TABLE table_name_40 (
    date VARCHAR,
    constructor VARCHAR
) ### Response: SELECT date FROM table_name_40 WHERE constructor = "ferrari"