CREATE TABLE "main_race" (
  "team" text,
  "driver" text,
  "laps" real,
  "time" text,
  "grid" real
);

Question: How many Laps have a Driver of satrio hermanto?
SQL: SELECT SUM("laps") FROM "main_race" WHERE "driver"='satrio hermanto';

Question: Which Time has a Grid of 19?
SQL: SELECT "time" FROM "main_race" WHERE "grid"=19;

Question: Which Grid is the lowest one that has a Team of germany, and Laps smaller than 45?
SQL: SELECT MIN("grid") FROM "main_race" WHERE "team"='germany' AND "laps"<45;