CREATE TABLE table_name_22 (gold INT, rank VARCHAR)

How many total Gold medals did the nation ranked #3 receive?
SELECT SUM(gold) FROM table_name_22 WHERE rank = "3"
SELECT SUM("gold") FROM "table_name_22" WHERE "3" = "rank"