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

Question: Which year had a vehicle of Mitsubishi?
SQL: SELECT "year" FROM "dakar_rally_results" WHERE "vehicle"='mitsubishi';

Question: Which class had a vehicle of Nissan in 2007?
SQL: SELECT "class" FROM "dakar_rally_results" WHERE "vehicle"='nissan' AND "year"=2007;

Question: Which vehicle had a class of car in years after 2009 with 0 stages won and position of 5?
SQL: SELECT "vehicle" FROM "dakar_rally_results" WHERE "class"='car' AND "year">2009 AND "stages_won"='0' AND "position"='5';

Question: Which year had a position of 9?
SQL: SELECT "year" FROM "dakar_rally_results" WHERE "position"='9';