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

Question: What is the highest grid for rider Fonsi Nieto?
SQL: SELECT MAX("grid") FROM "superbike_race_2_classification" WHERE "rider"='fonsi nieto';

Question: What was the total number of Laps for the rider whose time was +7.951?
SQL: SELECT COUNT("laps") FROM "superbike_race_2_classification" WHERE "time"='+7.951';

Question: What was the highest number of laps for rider Shuhei Aoyama in a grid higher than 24?
SQL: SELECT MAX("laps") FROM "superbike_race_2_classification" WHERE "rider"='shuhei aoyama' AND "grid">24;

Question: What was the grid for rider Russell Holland, riding a Honda CBR1000rr?
SQL: SELECT "grid" FROM "superbike_race_2_classification" WHERE "bike"='honda cbr1000rr' AND "rider"='russell holland';

Question: Who was the rider who went 14 laps on a Honda CBR1000rr, with a time of +1'04.877 on a grid larger than 23?
SQL: SELECT "rider" FROM "superbike_race_2_classification" WHERE "laps"=14 AND "grid">23 AND "bike"='honda cbr1000rr' AND "time"='+1''04.877';