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

Question: Which Grid did Alain Prost drive on?
SQL: SELECT SUM("grid") FROM "race" WHERE "driver"='alain prost';

Question: What was Riccardo Patrese's time/retired?
SQL: SELECT "time_retired" FROM "race" WHERE "driver"='riccardo patrese';