What is the average gold that has a total of 2 and more than 1 bronze.
CREATE TABLE "medal_table" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
SELECT AVG("gold") FROM "medal_table" WHERE "total"=2 AND "bronze">1;