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

Question: Which country had 1 Bronze, 1 Silver, with a total of 3 medals?
SQL: SELECT "nation" FROM "medal_table" WHERE "bronze"=1 AND "total"=3 AND "silver"=1;

Question: Which country had more than 2 silvers and less than 4 golds?
SQL: SELECT "nation" FROM "medal_table" WHERE "silver">2 AND "gold"<4;

Question: What's the average bronze with a total number of medals being 1, with more than 0 silvers?
SQL: SELECT AVG("bronze") FROM "medal_table" WHERE "total"=1 AND "silver">0;