who is the driver that has laps more than 35 and the constructor is ferrari?
CREATE TABLE table_name_51 (driver VARCHAR, laps VARCHAR, constructor VARCHAR)
SELECT driver FROM table_name_51 WHERE laps > 35 AND constructor = "ferrari"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (driver VARCHAR, laps VARCHAR, constructor VARCHAR) Question: who is the driver that has laps more than 35 and the constructor is ferrari? [/INST] SELECT driver FROM table_name_51 WHERE laps > 35 AND constructor = "ferrari" </s>