How many laps for a Time/Retired of tyre, and a Grid larger than 10?
CREATE TABLE table_name_66 (laps VARCHAR, time_retired VARCHAR, grid VARCHAR)
SELECT COUNT(laps) FROM table_name_66 WHERE time_retired = "tyre" AND grid > 10
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_66 (laps VARCHAR, time_retired VARCHAR, grid VARCHAR) Question: How many laps for a Time/Retired of tyre, and a Grid larger than 10? [/INST] SELECT COUNT(laps) FROM table_name_66 WHERE time_retired = "tyre" AND grid > 10 </s>