Which Laps have a Time of +39.476, and a Grid larger than 11?
CREATE TABLE "moto_gp_classification" (
  "rider" text,
  "manufacturer" text,
  "laps" real,
  "time" text,
  "grid" real
);
SELECT AVG("laps") FROM "moto_gp_classification" WHERE "time"='+39.476' AND "grid">11;