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

Question: How many grids does Ducati have with Casey Stoner as a rider with fewer than 27 laps?
SQL: SELECT COUNT("grid") FROM "moto_gp_classification" WHERE "manufacturer"='ducati' AND "rider"='casey stoner' AND "laps"<27;

Question: Which manufacturer has a time of +10.142?
SQL: SELECT "manufacturer" FROM "moto_gp_classification" WHERE "time"='+10.142';

Question: What is Loris Capirossi's time?
SQL: SELECT "time" FROM "moto_gp_classification" WHERE "rider"='loris capirossi';