CREATE TABLE "bathurst_1000_results" (
  "year" real,
  "number" real,
  "team" text,
  "co_driver" text,
  "position" text,
  "laps" real
);

Question: What is the lowest Year, when Co-Driver is Warren Luff, when Position is 7th, and when Laps is less than 161?
SQL: SELECT MIN("year") FROM "bathurst_1000_results" WHERE "co_driver"='warren luff' AND "position"='7th' AND "laps"<161;

Question: What is Position, when Laps is 156?
SQL: SELECT "position" FROM "bathurst_1000_results" WHERE "laps"=156;

Question: What is the highest Year, when Laps is greater than 161?
SQL: SELECT MAX("year") FROM "bathurst_1000_results" WHERE "laps">161;