CREATE TABLE table_name_23 (gold INTEGER, total VARCHAR(255))
What is the smallest number of gold medals a country with 7 medals has?
    
SQL: SELECT MIN(gold) FROM table_name_23 WHERE total = 7