What's the total Rank that has a Gold that's smaller than 0?
CREATE TABLE table_name_2 (rank INTEGER, gold INTEGER)
SELECT SUM(rank) FROM table_name_2 WHERE gold < 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (rank INTEGER, gold INTEGER) Question: What's the total Rank that has a Gold that's smaller than 0? [/INST] SELECT SUM(rank) FROM table_name_2 WHERE gold < 0 </s>