What is the gold number when the total is 8 and bronze is more than 4?
CREATE TABLE "medal_table" (
  "rank" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
SELECT AVG("gold") FROM "medal_table" WHERE "total"=8 AND "bronze">4;