Name the highest grid for Laps more than 137 and rank is less than 8
CREATE TABLE table_name_89 (grid INTEGER, laps VARCHAR, rank VARCHAR)
SELECT MAX(grid) FROM table_name_89 WHERE laps > 137 AND rank < 8
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (grid INTEGER, laps VARCHAR, rank VARCHAR) Question: Name the highest grid for Laps more than 137 and rank is less than 8 [/INST] SELECT MAX(grid) FROM table_name_89 WHERE laps > 137 AND rank < 8 </s>