Context: CREATE TABLE table_name_83 (total INTEGER, gold VARCHAR)
Question: What is the total number of medals when there are 18 gold medals?
Answer: SELECT SUM(total) FROM table_name_83 WHERE gold = 18