Which Laps have a Rider of andrea dovizioso?
CREATE TABLE table_name_2 (laps INTEGER, rider VARCHAR)
SELECT MIN(laps) FROM table_name_2 WHERE rider = "andrea dovizioso"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (laps INTEGER, rider VARCHAR) Question: Which Laps have a Rider of andrea dovizioso? [/INST] SELECT MIN(laps) FROM table_name_2 WHERE rider = "andrea dovizioso" </s>