What is the total rank with a total larger than 2, and less than 0 gold
CREATE TABLE table_name_86 (rank INTEGER, total VARCHAR, gold VARCHAR)
SELECT SUM(rank) FROM table_name_86 WHERE total > 2 AND gold < 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (rank INTEGER, total VARCHAR, gold VARCHAR) Question: What is the total rank with a total larger than 2, and less than 0 gold [/INST] SELECT SUM(rank) FROM table_name_86 WHERE total > 2 AND gold < 0 </s>