Which Laps have a Time of +23.002, and a Grid smaller than 11?
CREATE TABLE table_name_5 (laps INTEGER, time VARCHAR, grid VARCHAR)
SELECT AVG(laps) FROM table_name_5 WHERE time = "+23.002" AND grid < 11
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (laps INTEGER, time VARCHAR, grid VARCHAR) Question: Which Laps have a Time of +23.002, and a Grid smaller than 11? [/INST] SELECT AVG(laps) FROM table_name_5 WHERE time = "+23.002" AND grid < 11 </s>