What grid has an average time of +22.505 and laps larger than 23?
CREATE TABLE table_name_7 (grid INTEGER, time VARCHAR, laps VARCHAR)
SELECT AVG(grid) FROM table_name_7 WHERE time = "+22.505" AND laps > 23
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_7 (grid INTEGER, time VARCHAR, laps VARCHAR) Question: What grid has an average time of +22.505 and laps larger than 23? [/INST] SELECT AVG(grid) FROM table_name_7 WHERE time = "+22.505" AND laps > 23 </s>