Which grid has less than 11 laps, and a Time/Retired of accident?
CREATE TABLE table_name_99 (grid INTEGER, laps VARCHAR, time_retired VARCHAR)
SELECT AVG(grid) FROM table_name_99 WHERE laps < 11 AND time_retired = "accident"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (grid INTEGER, laps VARCHAR, time_retired VARCHAR) Question: Which grid has less than 11 laps, and a Time/Retired of accident? [/INST] SELECT AVG(grid) FROM table_name_99 WHERE laps < 11 AND time_retired = "accident" </s>