CREATE TABLE table_name_9 (total INT, bronze VARCHAR, gold VARCHAR, silver VARCHAR)

What average total has a gold greater than 0, and a silver greater than 0, with a bronze greater than 2?
SELECT AVG(total) FROM table_name_9 WHERE gold > 0 AND silver > 0 AND bronze > 2
SELECT AVG("total") FROM "table_name_9" WHERE "bronze" > 2 AND "gold" > 0 AND "silver" > 0