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

Question: What average bronze has 0 as the silver, 17 as the rank, and a gold less than 1?
SQL: SELECT AVG("bronze") FROM "medals_table" WHERE "silver"=0 AND "rank"='17' AND "gold"<1;

Question: What is the lowest silver that has 2 as the bronze, with a total greater than 4?
SQL: SELECT MIN("silver") FROM "medals_table" WHERE "bronze"=2 AND "total">4;

Question: How many bronzes have a total less than 11, with 11 as the rank, and a gold less than 1?
SQL: SELECT COUNT("bronze") FROM "medals_table" WHERE "total"<11 AND "rank"='11' AND "gold"<1;