What is the average number of laps for a grid of 6?
CREATE TABLE table_name_31 (laps INTEGER, grid VARCHAR)
SELECT AVG(laps) FROM table_name_31 WHERE grid = 6
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (laps INTEGER, grid VARCHAR) Question: What is the average number of laps for a grid of 6? [/INST] SELECT AVG(laps) FROM table_name_31 WHERE grid = 6 </s>