CREATE TABLE "24_hours_of_le_mans_results" (
  "year" real,
  "team" text,
  "co_drivers" text,
  "class" text,
  "pos" text,
  "class_pos" text
);

Question: Who was the co-driver in the DNF position in the GT1 class?
SQL: SELECT "co_drivers" FROM "24_hours_of_le_mans_results" WHERE "pos"='dnf' AND "class"='gt1';

Question: Which co-driver was part of team Martini Lancia earlier than 1986?
SQL: SELECT "co_drivers" FROM "24_hours_of_le_mans_results" WHERE "year"<1986 AND "team"='martini lancia';

Question: The Le Mans Porsche team Joest Racing is in which class?
SQL: SELECT "class" FROM "24_hours_of_le_mans_results" WHERE "team"='le mans porsche team joest racing';