What is the gold when silver is less than 1, rank is 12, and total is less than 3?
CREATE TABLE table_name_68 (gold INTEGER, total VARCHAR, silver VARCHAR, rank VARCHAR)
SELECT MAX(gold) FROM table_name_68 WHERE silver < 1 AND rank = 12 AND total < 3
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_68 (gold INTEGER, total VARCHAR, silver VARCHAR, rank VARCHAR) Question: What is the gold when silver is less than 1, rank is 12, and total is less than 3? [/INST] SELECT MAX(gold) FROM table_name_68 WHERE silver < 1 AND rank = 12 AND total < 3 </s>