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

Question: Which Rider is grid 7?
SQL: SELECT "rider" FROM "supersport_race_classification" WHERE "grid"=7;

Question: What is the total number of laps done by Massimo Roccoli when his grid was smaller than 4?
SQL: SELECT COUNT("laps") FROM "supersport_race_classification" WHERE "rider"='massimo roccoli' AND "grid"<4;

Question: What is the time recorded by David Salom on his Yamaha yzf-r6 when his grid was larger than 1?
SQL: SELECT "time" FROM "supersport_race_classification" WHERE "bike"='yamaha yzf-r6' AND "grid">1 AND "rider"='david salom';