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

Question: what is the engine when the rounds ar all, the tyre is m and the driver is david coulthard?
SQL: SELECT "engine" FROM "drivers_and_constructors" WHERE "rounds"='all' AND "tyre"='m' AND "driver"='david coulthard';

Question: who is the entrant when the engine is bmw p82?
SQL: SELECT "entrant" FROM "drivers_and_constructors" WHERE "engine"='bmw p82';

Question: what is the rounds when the engine is mercedes fo110m?
SQL: SELECT "rounds" FROM "drivers_and_constructors" WHERE "engine"='mercedes fo110m';

Question: who is the driver when the engine is mercedes fo110m?
SQL: SELECT "driver" FROM "drivers_and_constructors" WHERE "engine"='mercedes fo110m';

Question: what is the tyre when the engine is asiatech at02 and the driver is alex yoong?
SQL: SELECT "tyre" FROM "drivers_and_constructors" WHERE "engine"='asiatech at02' AND "driver"='alex yoong';

Question: what is the chassis when the tyre is b, the engine is ferrari 050 ferrari 051 and the driver is rubens barrichello?
SQL: SELECT "chassis" FROM "drivers_and_constructors" WHERE "tyre"='b' AND "engine"='ferrari 050 ferrari 051' AND "driver"='rubens barrichello';