Which grid has a time/retired of +3.9 secs in less than 96 laps?
CREATE TABLE "race" (
  "driver" text,
  "team" text,
  "laps" real,
  "time_retired" text,
  "grid" real,
  "points" real
);
SELECT AVG("grid") FROM "race" WHERE "time_retired"='+3.9 secs' AND "laps"<96;