CREATE TABLE table_name_23 (gold INT, total VARCHAR)

What is the smallest number of gold medals a country with 7 medals has?
SELECT MIN(gold) FROM table_name_23 WHERE total = 7
SELECT MIN("gold") FROM "table_name_23" WHERE "total" = 7