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