CREATE TABLE "moto_gp_classification" (
  "rider" text,
  "manufacturer" text,
  "laps" real,
  "time" text,
  "grid" real
);

Question: Can you tell me the sum of Laps that has the Manufacturer of kawasaki, and the Grid smaller than 7?
SQL: SELECT SUM("laps") FROM "moto_gp_classification" WHERE "manufacturer"='kawasaki' AND "grid"<7;

Question: Can you tell me the sum of Grid that has the Laps of 30, and the Rider of toni elias?
SQL: SELECT SUM("grid") FROM "moto_gp_classification" WHERE "laps"=30 AND "rider"='toni elias';