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

Question: Who was the rider riding the Kawasaki ZX-6r, that rode less than 22 laps, and the grid was greater than 19, and retirement was the time?
SQL: SELECT "rider" FROM "supersport_race_classification" WHERE "laps"<22 AND "grid">19 AND "time"='retirement' AND "bike"='kawasaki zx-6r';

Question: What is the maximum grid when the laps were greater than 22?
SQL: SELECT MAX("grid") FROM "supersport_race_classification" WHERE "laps">22;

Question: What is the minimum grid when there was more than 22 laps?
SQL: SELECT MIN("grid") FROM "supersport_race_classification" WHERE "laps">22;

Question: How many total laps were ridden when the grid was 7 and the rider rode the Honda CBR600RR?
SQL: SELECT SUM("laps") FROM "supersport_race_classification" WHERE "bike"='honda cbr600rr' AND "grid"=7;