Table: east_asian_games_2005
Columns: rank
nation
gold
silver
bronze
total

Question: Which Nation has Silver smaller than 16, Bronze larger than 6, and Gold of 2?
SQL: SELECT "nation" FROM east_asian_games_2005 WHERE "silver" < 16 AND "bronze" > 6 AND "gold" = 2

Question: Which Gold has a Nation of south korea (kor), and Bronze smaller than 65?
SQL: SELECT AVG("gold") FROM east_asian_games_2005 WHERE "nation" = 'south korea (kor)' AND "bronze" < 65

Question: Which Total has Gold of 2?
SQL: SELECT MAX("total") FROM east_asian_games_2005 WHERE "gold" = 2

Question: Which Total has Gold smaller than 12, and a Nation of hong kong (hkg)?
SQL: SELECT MAX("total") FROM east_asian_games_2005 WHERE "gold" < 12 AND "nation" = 'hong kong (hkg)'

Question: Which Gold has a Total of 721?
SQL: SELECT AVG("gold") FROM east_asian_games_2005 WHERE "total" = 721