How many average gold medals for provinces higher than rank 9 with 25 bronzes?
CREATE TABLE "top_ten_medals" (
  "rank" real,
  "province" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
SELECT AVG("gold") FROM "top_ten_medals" WHERE "bronze"=25 AND "rank"<9;