League Cup smaller than 0 is what sum of the total?
CREATE TABLE table_name_31 (total INTEGER, league_cup INTEGER)
SELECT SUM(total) FROM table_name_31 WHERE league_cup < 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (total INTEGER, league_cup INTEGER) Question: League Cup smaller than 0 is what sum of the total? [/INST] SELECT SUM(total) FROM table_name_31 WHERE league_cup < 0 </s>