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 are the average laps driven in the GT class?
SQL: SELECT AVG("laps") FROM "24_hours_of_le_mans_results" WHERE "class"='gt';

Question: What classes have driven greater than 133 laps, placed above 18th position and have a class position of 1st?
SQL: SELECT "class" FROM "24_hours_of_le_mans_results" WHERE "laps">133 AND "pos"='18th' AND "class_pos"='1st';