Which Laps have a Grid larger than 8, and a Rider of anthony west?
CREATE TABLE table_name_60 (laps INTEGER, grid VARCHAR, rider VARCHAR)
SELECT MAX(laps) FROM table_name_60 WHERE grid > 8 AND rider = "anthony west"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (laps INTEGER, grid VARCHAR, rider VARCHAR) Question: Which Laps have a Grid larger than 8, and a Rider of anthony west? [/INST] SELECT MAX(laps) FROM table_name_60 WHERE grid > 8 AND rider = "anthony west" </s>