What is the average Gold when silver is more than 2, and bronze is more than 1
CREATE TABLE "medal_table" (
  "rank" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
SELECT AVG("gold") FROM "medal_table" WHERE "silver">2 AND "bronze">1;