Tell me the average Laps for grid larger than 22
CREATE TABLE table_name_39 (laps INTEGER, grid INTEGER)
SELECT AVG(laps) FROM table_name_39 WHERE grid > 22
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (laps INTEGER, grid INTEGER) Question: Tell me the average Laps for grid larger than 22 [/INST] SELECT AVG(laps) FROM table_name_39 WHERE grid > 22 </s>