What is the top lap that had 6 grids and more than 19 points?
CREATE TABLE table_name_38 (laps INTEGER, grid VARCHAR, points VARCHAR)
SELECT MAX(laps) FROM table_name_38 WHERE grid = "6" AND points > 19
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (laps INTEGER, grid VARCHAR, points VARCHAR) Question: What is the top lap that had 6 grids and more than 19 points? [/INST] SELECT MAX(laps) FROM table_name_38 WHERE grid = "6" AND points > 19 </s>