What's the sum of Losses that Scored larger than 15, has Points that's larger than 16, and Played that's larger than 9?
CREATE TABLE table_name_15 (losses INTEGER, played VARCHAR, scored VARCHAR, points VARCHAR)
SELECT SUM(losses) FROM table_name_15 WHERE scored > 15 AND points > 16 AND played > 9
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (losses INTEGER, played VARCHAR, scored VARCHAR, points VARCHAR) Question: What's the sum of Losses that Scored larger than 15, has Points that's larger than 16, and Played that's larger than 9? [/INST] SELECT SUM(losses) FROM table_name_15 WHERE scored > 15 AND points > 16 AND played > 9 </s>