CREATE TABLE "classification" (
  "driver" text,
  "constructor" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);

Question: What driver has 44 laps?
SQL: SELECT "driver" FROM "classification" WHERE "laps"=44;

Question: What is the average laps for a grid larger than 2, for a ferrari that got in an accident?
SQL: SELECT AVG("laps") FROM "classification" WHERE "grid">2 AND "time_retired"='accident' AND "constructor"='ferrari';