CREATE TABLE "drivers_and_teams" (
  "team" text,
  "driver" text,
  "class" text,
  "chassis" text,
  "engine" text,
  "rounds" text
);

Question: what is the team when the driver is viktor jensen?
SQL: SELECT "team" FROM "drivers_and_teams" WHERE "driver"='viktor jensen';

Question: what is the team when the rounds is all engine is mercedes hwa and driver is sam abay?
SQL: SELECT "team" FROM "drivers_and_teams" WHERE "rounds"='all' AND "engine"='mercedes hwa' AND "driver"='sam abay';

Question: what is the class when the chassis is dallara f308, rounds is all and the driver is sam abay?
SQL: SELECT "class" FROM "drivers_and_teams" WHERE "chassis"='dallara f308' AND "rounds"='all' AND "driver"='sam abay';