When rider John Hopkins had 21 laps, what was the grid?
CREATE TABLE table_name_20 (grid VARCHAR, laps VARCHAR, rider VARCHAR)
SELECT grid FROM table_name_20 WHERE laps = "21" AND rider = "john hopkins"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (grid VARCHAR, laps VARCHAR, rider VARCHAR) Question: When rider John Hopkins had 21 laps, what was the grid? [/INST] SELECT grid FROM table_name_20 WHERE laps = "21" AND rider = "john hopkins" </s>