How many bronze's on average for nations with over 1 total, less than 2 golds, ranked 2nd?
CREATE TABLE "medals_table" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);
SELECT AVG("bronze") FROM "medals_table" WHERE "total">1 AND "gold"<2 AND "rank"=2;