CREATE TABLE table_name_12 (driver VARCHAR2, constructor VARCHAR2, laps VARCHAR2)

What driver has BRM as a constructor and had more than 30 laps?
SELECT driver FROM table_name_12 WHERE constructor = "brm" AND laps > 30
SELECT "driver" FROM "table_name_12" WHERE "brm" = "constructor" AND "laps" > 30