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

Question: What is the nation when gold is 0, bronze is more than 0 and rank is 16?
SQL: SELECT "nation" FROM "medal_table" WHERE "gold"=0 AND "bronze">0 AND "rank"='16';

Question: what is the silver when the nation is syria (syr) and gold is more than 0?
SQL: SELECT SUM("silver") FROM "medal_table" WHERE "nation"='syria (syr)' AND "gold">0;

Question: what is the average gold when rank is total and silver is more than 20?
SQL: SELECT AVG("gold") FROM "medal_table" WHERE "rank"='total' AND "silver">20;

Question: what is the most silver when bronze is more than 0, total is more than 1, gold is more than 0 and the nation is china (chn)?
SQL: SELECT MAX("silver") FROM "medal_table" WHERE "bronze">0 AND "total">1 AND "gold">0 AND "nation"='china (chn)';