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 were the co-drivers in 2008?
SQL: SELECT "co_drivers" FROM "24_hours_of_le_mans_results" WHERE "year"=2008;

Question: What is the class of 2009?
SQL: SELECT "class" FROM "24_hours_of_le_mans_results" WHERE "year"=2009;

Question: Who were the co-drivers with more than 310 laps and team aston martin racing bms?
SQL: SELECT "co_drivers" FROM "24_hours_of_le_mans_results" WHERE "laps">310 AND "team"='aston martin racing bms';