Table: south_asian_games_1989
Columns: rank
nation
gold
silver
bronze
total

Question: How much Rank has a Bronze of 21, and a Silver larger than 10?
SQL: SELECT COUNT("rank") FROM south_asian_games_1989 WHERE "bronze" = 21 AND "silver" > 10

Question: Which Gold has a Nation of sri lanka, and a Silver smaller than 10?
SQL: SELECT AVG("gold") FROM south_asian_games_1989 WHERE "nation" = 'sri lanka' AND "silver" < 10

Question: How much Silver has a Rank of 7?
SQL: SELECT COUNT("silver") FROM south_asian_games_1989 WHERE "rank" = 7

Question: Which Gold has a Rank smaller than 5, and a Bronze of 20?
SQL: SELECT AVG("gold") FROM south_asian_games_1989 WHERE "rank" < 5 AND "bronze" = 20

Question: Which Silver has a Rank of 6, and a Bronze smaller than 3?
SQL: SELECT MIN("silver") FROM south_asian_games_1989 WHERE "rank" = 6 AND "bronze" < 3