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