Table schema:
CREATE TABLE table_name_32 (gold INTEGER, rank VARCHAR, silver VARCHAR)

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