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

Question: what is the smallest number of laps imre toth has?
SQL: SELECT MIN("laps") FROM "250cc_classification" WHERE "rider"='imre toth';

Question: what is the smallest number of laps marco simoncelli has with grid less than 8 and gilera as the manufacturer?
SQL: SELECT MIN("laps") FROM "250cc_classification" WHERE "manufacturer"='gilera' AND "rider"='marco simoncelli' AND "grid"<8;