CREATE TABLE "medals_table" (
  "rank" real,
  "nation" text,
  "gold" real,
  "silver" real,
  "bronze" real,
  "total" real
);

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

Question: How many silvers on average for nations with less than 3 total, ranked 6, and over 1 bronze?
SQL: SELECT AVG("silver") FROM "medals_table" WHERE "total"<3 AND "rank"=6 AND "bronze">1;