What driver has BRM as a constructor and had more than 30 laps?
CREATE TABLE table_name_12 (driver VARCHAR, constructor VARCHAR, laps VARCHAR)
SELECT driver FROM table_name_12 WHERE constructor = "brm" AND laps > 30
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (driver VARCHAR, constructor VARCHAR, laps VARCHAR) Question: What driver has BRM as a constructor and had more than 30 laps? [/INST] SELECT driver FROM table_name_12 WHERE constructor = "brm" AND laps > 30 </s>