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

Question: What is the average number of bronze medals won by Poland?
SQL: SELECT AVG("bronze") FROM "medals_table" WHERE "nation"='poland';

Question: What is the average number of gold medals Switzerland received when they ranked larger than 1st and received fewer than 10 bronze medals and more than 1 silver medal?
SQL: SELECT AVG("gold") FROM "medals_table" WHERE "total">1 AND "bronze"<10 AND "nation"='switzerland' AND "silver">1;