CREATE TABLE table_name_22 (driver VARCHAR2, tyre VARCHAR2, engine VARCHAR2, rounds VARCHAR2)

Who used the Ford Cosworth DFV 3.0 v8 engine in rounds 3-12, with a G tire?
SELECT driver FROM table_name_22 WHERE engine = "ford cosworth dfv 3.0 v8" AND rounds = "3-12" AND tyre = "g"
SELECT "driver" FROM "table_name_22" WHERE "3-12" = "rounds" AND "engine" = "ford cosworth dfv 3.0 v8" AND "g" = "tyre"