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

Question: What is the class of car that is earlier than 2005 and has a class position of 2nd?
SQL: SELECT "class" FROM "24_hours_of_le_mans_results" WHERE "year"<2005 AND "class_pos"='2nd';

Question: How many years was the number of laps 71?
SQL: SELECT COUNT("year") FROM "24_hours_of_le_mans_results" WHERE "laps"=71;

Question: For a year that is later than 2002 what is the class position?
SQL: SELECT "class_pos" FROM "24_hours_of_le_mans_results" WHERE "year">2002;