I want the driver for Laps more than 8 and ferrari with Grid of 8
CREATE TABLE table_name_45 (driver VARCHAR, grid VARCHAR, laps VARCHAR, constructor VARCHAR)
SELECT driver FROM table_name_45 WHERE laps > 8 AND constructor = "ferrari" AND grid = 8
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_45 (driver VARCHAR, grid VARCHAR, laps VARCHAR, constructor VARCHAR) Question: I want the driver for Laps more than 8 and ferrari with Grid of 8 [/INST] SELECT driver FROM table_name_45 WHERE laps > 8 AND constructor = "ferrari" AND grid = 8 </s>