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

Question: Count the Grid which has a Manufacturer of aprilia, and a Rider of bradley smith?
SQL: SELECT AVG("grid") FROM "125cc_classification" WHERE "manufacturer"='aprilia' AND "rider"='bradley smith';

Question: Name the Time which has Laps of 19, and a Grid larger than 19, and a Manufacturer of ktm, and a Rider of randy krummenacher?
SQL: SELECT "time" FROM "125cc_classification" WHERE "laps"=19 AND "grid">19 AND "manufacturer"='ktm' AND "rider"='randy krummenacher';

Question: Name the Time which has a Manufacturer of aprilia, and a Grid smaller than 16, and a Rider of sandro cortese?
SQL: SELECT "time" FROM "125cc_classification" WHERE "manufacturer"='aprilia' AND "grid"<16 AND "rider"='sandro cortese';