Table: wwc_2002
Columns: rank
nation
gold
silver
bronze
total

Question: Which Bronze has a Rank of 9?
SQL: SELECT COUNT("bronze") FROM wwc_2002 WHERE "rank" = '9'

Question: Which Bronze has a Gold smaller than 1, and a Rank of 17, and a Nation of china?
SQL: SELECT MAX("bronze") FROM wwc_2002 WHERE "gold" < 1 AND "rank" = '17' AND "nation" = 'china'

Question: Which Nation has a Bronze smaller than 1, and a Total larger than 1, and a Silver of 1?
SQL: SELECT "nation" FROM wwc_2002 WHERE "bronze" < 1 AND "total" > 1 AND "silver" = 1

Question: Which Total has a Rank of 17, and a Gold larger than 0?
SQL: SELECT AVG("total") FROM wwc_2002 WHERE "rank" = '17' AND "gold" > 0

Question: Which Gold has a Rank of 15, and a Total smaller than 2?
SQL: SELECT AVG("gold") FROM wwc_2002 WHERE "rank" = '15' AND "total" < 2