What is the lowest points for a time/retired of +30.7 secs, and laps smaller than 165?
CREATE TABLE "race" (
  "driver" text,
  "team" text,
  "laps" real,
  "time_retired" text,
  "grid" real,
  "points" real
);
SELECT MIN("points") FROM "race" WHERE "time_retired"='+30.7 secs' AND "laps"<165;