CREATE TABLE table_name_32 (gold INT, rank VARCHAR, silver VARCHAR)

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