What is the average Grid that has a Time/Retired of +2 laps, and under 51 laps?
CREATE TABLE table_name_83 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)
SELECT AVG(grid) FROM table_name_83 WHERE time_retired = "+2 laps" AND laps < 51
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (grid INTEGER, time_retired VARCHAR, laps VARCHAR) Question: What is the average Grid that has a Time/Retired of +2 laps, and under 51 laps? [/INST] SELECT AVG(grid) FROM table_name_83 WHERE time_retired = "+2 laps" AND laps < 51 </s>