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

Question: What is the total number of Grid, when Rider is Aleix Espargaro?
SQL: SELECT COUNT("grid") FROM "250cc_classification" WHERE "rider"='aleix espargaro';

Question: What is the Rider, when Grid is less than 16, when Manufacturer is Aprilia, and when Time is +28.288?
SQL: SELECT "rider" FROM "250cc_classification" WHERE "grid"<16 AND "manufacturer"='aprilia' AND "time"='+28.288';

Question: What is the average Laps, when Grid is 15?
SQL: SELECT AVG("laps") FROM "250cc_classification" WHERE "grid"=15;

Question: What is the Manufacturer, when Laps is 26, and when Rider is Aleix Espargaro?
SQL: SELECT "manufacturer" FROM "250cc_classification" WHERE "laps"=26 AND "rider"='aleix espargaro';