CREATE TABLE table_name_82 (bronze INT, silver VARCHAR, gold VARCHAR, rank VARCHAR)

What is the sum of bronzes for teams with more than 2 gold, ranked under 3, and less than 22 silver?
SELECT SUM(bronze) FROM table_name_82 WHERE gold > 2 AND rank < 3 AND silver < 22
SELECT SUM("bronze") FROM "table_name_82" WHERE "gold" > 2 AND "rank" < 3 AND "silver" < 22