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

Question: What is the grid number for troy corser with under 22 laps?
SQL: SELECT SUM("grid") FROM "superbike_race_2_classification" WHERE "rider"='troy corser' AND "laps"<22;

Question: What rider went under 22 laps with grid number 2?
SQL: SELECT "rider" FROM "superbike_race_2_classification" WHERE "laps"<22 AND "grid"=2;