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

Question: What's the number of bronze when they are ranked 29, had a total more than 3 and less than 2 golds?
SQL: SELECT MIN("bronze") FROM "medal_table" WHERE "gold"<2 AND "rank"='29' AND "total">3;

Question: What's the bronze medal count for Rank 33 when the silver count was less than 2 and the total was more than 4?
SQL: SELECT MAX("bronze") FROM "medal_table" WHERE "silver"<2 AND "total">4 AND "rank"='33';

Question: How many silver for rank 22 when gold count was more than 0 and Bronze count was less than 5?
SQL: SELECT SUM("silver") FROM "medal_table" WHERE "bronze"<5 AND "gold">0 AND "rank"='22';

Question: What's the bronze count for South Africa (RSA) with a total more than 16?
SQL: SELECT MAX("bronze") FROM "medal_table" WHERE "nation"='south africa (rsa)' AND "total">16;