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

Question: How many laps did the rider Alex Baldolini take?
SQL: SELECT SUM("laps") FROM "250cc_classification" WHERE "rider"='alex baldolini';

Question: How many laps were completed in the time of +7.213 with a grid number larger than 7?
SQL: SELECT COUNT("laps") FROM "250cc_classification" WHERE "time_retired"='+7.213' AND "grid">7;

Question: What is total number of laps for bikes manufactured by KTM with a time of +3.578 and a grid number larger than 4?
SQL: SELECT COUNT("laps") FROM "250cc_classification" WHERE "manufacturer"='ktm' AND "time_retired"='+3.578' AND "grid">4;