CREATE TABLE table_name_7 (gold INT, rank VARCHAR, bronze VARCHAR)

What is the smallest number of gold medals corresponding to the total rank with more than 4 bronze medals?
SELECT MIN(gold) FROM table_name_7 WHERE rank = "total" AND bronze > 4
SELECT MIN("gold") FROM "table_name_7" WHERE "bronze" > 4 AND "rank" = "total"