What was the highest number of laps for rider Shuhei Aoyama in a grid higher than 24?
CREATE TABLE table_name_37 (laps INTEGER, rider VARCHAR, grid VARCHAR)
SELECT MAX(laps) FROM table_name_37 WHERE rider = "shuhei aoyama" AND grid > 24
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_37 (laps INTEGER, rider VARCHAR, grid VARCHAR) Question: What was the highest number of laps for rider Shuhei Aoyama in a grid higher than 24? [/INST] SELECT MAX(laps) FROM table_name_37 WHERE rider = "shuhei aoyama" AND grid > 24 </s>