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

Question: How many laps for ukyo katayama with a grid under 16?
SQL: SELECT COUNT("laps") FROM "race" WHERE "driver"='ukyo katayama' AND "grid"<16;

Question: What grid has a Time/Retired of +5 laps?
SQL: SELECT "grid" FROM "race" WHERE "time_retired"='+5 laps';