With 8 as the rank, and a total of more than 2 medals what is the average bronze medals?
CREATE TABLE "medal_table" (
  "rank" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
SELECT AVG("bronze") FROM "medal_table" WHERE "rank"='8' AND "total">2;