CREATE TABLE "classification" (
  "driver" text,
  "constructor" text,
  "laps" real,
  "time_retired" text,
  "grid" real
);

Question: What is the total grid with laps less than 2?
SQL: SELECT SUM("grid") FROM "classification" WHERE "laps"<2;

Question: How much time is required for less than 35 laps and less than 10 grids?
SQL: SELECT "time_retired" FROM "classification" WHERE "laps"<35 AND "grid"<10;