What dates did Ferrari win races?
CREATE TABLE table_name_40 (date VARCHAR, constructor VARCHAR)
SELECT date FROM table_name_40 WHERE constructor = "ferrari"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (date VARCHAR, constructor VARCHAR) Question: What dates did Ferrari win races? [/INST] SELECT date FROM table_name_40 WHERE constructor = "ferrari" </s>