What is the total number of medals when there are 18 gold medals?
CREATE TABLE table_name_83 (total INTEGER, gold VARCHAR)
SELECT SUM(total) FROM table_name_83 WHERE gold = 18
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_83 (total INTEGER, gold VARCHAR) Question: What is the total number of medals when there are 18 gold medals? [/INST] SELECT SUM(total) FROM table_name_83 WHERE gold = 18 </s>