I want the lowest laps that have a grid of 12
CREATE TABLE table_name_22 (laps INTEGER, grid VARCHAR)
SELECT MIN(laps) FROM table_name_22 WHERE grid = 12
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (laps INTEGER, grid VARCHAR) Question: I want the lowest laps that have a grid of 12 [/INST] SELECT MIN(laps) FROM table_name_22 WHERE grid = 12 </s>