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

Question: What is the average laps for lorenzo bandini with a grid under 3?
SQL: SELECT AVG("laps") FROM "classification" WHERE "driver"='lorenzo bandini' AND "grid"<3;

Question: What driver has under 53 laps, a grid smaller than 14, and a time/retired of differential?
SQL: SELECT "driver" FROM "classification" WHERE "laps"<53 AND "grid"<14 AND "time_retired"='differential';