CREATE TABLE "drivers_and_constructors" (
  "entrant" text,
  "constructor" text,
  "chassis" text,
  "engine" text,
  "tyre" text,
  "driver" text,
  "rounds" text
);

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

Question: Which driver was in all rounds as an entrant of Motor Racing Developments?
SQL: SELECT "driver" FROM "drivers_and_constructors" WHERE "rounds"='all' AND "entrant"='motor racing developments';

Question: Motor Racing Developments used which tire in rounds 3-12?
SQL: SELECT "tyre" FROM "drivers_and_constructors" WHERE "entrant"='motor racing developments' AND "rounds"='3-12';

Question: Which engine was on a car with G tires, a chassis model of 003 002 004 005 006, driven by Jackie Stewart?
SQL: SELECT "engine" FROM "drivers_and_constructors" WHERE "tyre"='g' AND "chassis"='003 002 004 005 006' AND "driver"='jackie stewart';