CREATE TABLE "dakar_rally" (
  "year" real,
  "class" text,
  "vehicle" text,
  "position" text,
  "stages_won" text
);

Question: What class is associated with 0 stages won, a hummer, and before 2009?
SQL: SELECT "class" FROM "dakar_rally" WHERE "stages_won"='0' AND "vehicle"='hummer' AND "year"<2009;

Question: What position did he finish in 2012?
SQL: SELECT "position" FROM "dakar_rally" WHERE "year"=2012;

Question: What year did he compete in the car class and win 0 stages?
SQL: SELECT "year" FROM "dakar_rally" WHERE "class"='car' AND "stages_won"='0';