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

Question: How many laps had a time stat of accident for the rider carmelo morales when the grid was more than 25?
SQL: SELECT SUM("laps") FROM "superbike_race_1_classification" WHERE "time"='accident' AND "rider"='carmelo morales' AND "grid">25;

Question: How many laps had a time of +2.987?
SQL: SELECT COUNT("laps") FROM "superbike_race_1_classification" WHERE "time"='+2.987';

Question: Which bike had fewer than 23 laps and a grid number of 4?
SQL: SELECT "bike" FROM "superbike_race_1_classification" WHERE "laps"<23 AND "grid"=4;