CREATE TABLE "125cc_classification" (
  "rider" text,
  "manufacturer" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);

Question: Who is the rider with less than 15 laps, more than 32 grids, and an accident time/retired?
SQL: SELECT "rider" FROM "125cc_classification" WHERE "laps"<15 AND "grid">32 AND "time_retired"='accident';

Question: What is the time/retired of the honda manufacturer with a grid less than 26, 18 laps, and joan olivé as the rider?
SQL: SELECT "time_retired" FROM "125cc_classification" WHERE "manufacturer"='honda' AND "grid"<26 AND "laps"=18 AND "rider"='joan olivé';

Question: What is the average number of laps with an accident time/retired, aprilia manufacturer and a grid of 27?
SQL: SELECT AVG("laps") FROM "125cc_classification" WHERE "time_retired"='accident' AND "manufacturer"='aprilia' AND "grid"=27;