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: Which team finished 3rd in class with 337 laps before 2008?
SQL: SELECT "team" FROM "24_hours_of_le_mans_results" WHERE "year"<2008 AND "laps">337 AND "class_pos"='3rd';

Question: In which class had 252 laps and a position of dnf?
SQL: SELECT "class" FROM "24_hours_of_le_mans_results" WHERE "pos"='dnf' AND "laps"=252;

Question: Which position finished 3rd in class and completed less than 338 laps?
SQL: SELECT "pos" FROM "24_hours_of_le_mans_results" WHERE "class_pos"='3rd' AND "laps"<338;

Question: What was the position in 1997?
SQL: SELECT "pos" FROM "24_hours_of_le_mans_results" WHERE "year"=1997;