How many gold medals when the total is more than 1 and 18 silver?
CREATE TABLE table_name_80 (gold INTEGER, total VARCHAR, silver VARCHAR)
SELECT MIN(gold) FROM table_name_80 WHERE total > 1 AND silver = 18
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (gold INTEGER, total VARCHAR, silver VARCHAR) Question: How many gold medals when the total is more than 1 and 18 silver? [/INST] SELECT MIN(gold) FROM table_name_80 WHERE total > 1 AND silver = 18 </s>