What is the mean number of laps when the grid is less than 19 and time/retired is +21.3 secs?
CREATE TABLE table_name_56 (laps INTEGER, grid VARCHAR, time_retired VARCHAR)
SELECT AVG(laps) FROM table_name_56 WHERE grid < 19 AND time_retired = "+21.3 secs"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_56 (laps INTEGER, grid VARCHAR, time_retired VARCHAR) Question: What is the mean number of laps when the grid is less than 19 and time/retired is +21.3 secs? [/INST] SELECT AVG(laps) FROM table_name_56 WHERE grid < 19 AND time_retired = "+21.3 secs" </s>