WHAT IS THE LOWEST GRID FOR RETIREMENT, AND LAPS LARGER THAN 17?
CREATE TABLE table_name_72 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)
SELECT MIN(grid) FROM table_name_72 WHERE time_retired = "retirement" AND laps > 17
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (grid INTEGER, time_retired VARCHAR, laps VARCHAR) Question: WHAT IS THE LOWEST GRID FOR RETIREMENT, AND LAPS LARGER THAN 17? [/INST] SELECT MIN(grid) FROM table_name_72 WHERE time_retired = "retirement" AND laps > 17 </s>