I want the sum of gold for silver being less than 0
CREATE TABLE table_name_87 (gold INTEGER, silver INTEGER)
SELECT SUM(gold) FROM table_name_87 WHERE silver < 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (gold INTEGER, silver INTEGER) Question: I want the sum of gold for silver being less than 0 [/INST] SELECT SUM(gold) FROM table_name_87 WHERE silver < 0 </s>