What is the smallest gold value that has a total over 15 and bronze values under 31?
CREATE TABLE table_name_51 (gold INTEGER, total VARCHAR, bronze VARCHAR)
SELECT MIN(gold) FROM table_name_51 WHERE total > 15 AND bronze < 31
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (gold INTEGER, total VARCHAR, bronze VARCHAR) Question: What is the smallest gold value that has a total over 15 and bronze values under 31? [/INST] SELECT MIN(gold) FROM table_name_51 WHERE total > 15 AND bronze < 31 </s>