When the Grids is less than 2 what are the total laps?
CREATE TABLE table_name_87 (laps VARCHAR, grid INTEGER)
SELECT COUNT(laps) FROM table_name_87 WHERE grid < 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (laps VARCHAR, grid INTEGER) Question: When the Grids is less than 2 what are the total laps? [/INST] SELECT COUNT(laps) FROM table_name_87 WHERE grid < 2 </s>