What is the average lap total for grids under 19 and a Time/Retired of +4 laps?
CREATE TABLE table_name_63 (laps INTEGER, time_retired VARCHAR, grid VARCHAR)
SELECT AVG(laps) FROM table_name_63 WHERE time_retired = "+4 laps" AND grid < 19
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (laps INTEGER, time_retired VARCHAR, grid VARCHAR) Question: What is the average lap total for grids under 19 and a Time/Retired of +4 laps? [/INST] SELECT AVG(laps) FROM table_name_63 WHERE time_retired = "+4 laps" AND grid < 19 </s>