CREATE TABLE "superbike_race_2_classification" (
  "rider" text,
  "bike" text,
  "laps" real,
  "time" text,
  "grid" real
);

Question: Which Grid has Laps smaller than 22, and a Bike of honda cbr1000rr, and a Rider of luca morelli?
SQL: SELECT MIN("grid") FROM "superbike_race_2_classification" WHERE "laps"<22 AND "bike"='honda cbr1000rr' AND "rider"='luca morelli';

Question: Which Grid has a Time of +13.999?
SQL: SELECT MIN("grid") FROM "superbike_race_2_classification" WHERE "time"='+13.999';

Question: Which Grid has a Rider of loic napoleone?
SQL: SELECT AVG("grid") FROM "superbike_race_2_classification" WHERE "rider"='loic napoleone';