How many totals have a Bronze of 0, and a Gold smaller than 0?
CREATE TABLE table_name_22 (total INTEGER, bronze VARCHAR, gold VARCHAR)
SELECT SUM(total) FROM table_name_22 WHERE bronze = 0 AND gold < 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (total INTEGER, bronze VARCHAR, gold VARCHAR) Question: How many totals have a Bronze of 0, and a Gold smaller than 0? [/INST] SELECT SUM(total) FROM table_name_22 WHERE bronze = 0 AND gold < 0 </s>