CREATE TABLE table_name_56 (gold INT, total VARCHAR, rank VARCHAR, bronze VARCHAR, silver VARCHAR)

What is the average gold medals for countries with more than 0 bronze, more than 0 silver, rank over 2 and total over 3?
SELECT AVG(gold) FROM table_name_56 WHERE bronze > 0 AND silver > 0 AND rank > 2 AND total > 3
SELECT AVG("gold") FROM "table_name_56" WHERE "bronze" > 0 AND "rank" > 2 AND "silver" > 0 AND "total" > 3