What is the total number of laps associated with 8 points and a grid under 8?
CREATE TABLE table_name_9 (laps VARCHAR, points VARCHAR, grid VARCHAR)
SELECT COUNT(laps) FROM table_name_9 WHERE points = "8" AND grid < 8
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (laps VARCHAR, points VARCHAR, grid VARCHAR) Question: What is the total number of laps associated with 8 points and a grid under 8? [/INST] SELECT COUNT(laps) FROM table_name_9 WHERE points = "8" AND grid < 8 </s>