Which Losses has Scored of 9, and Points larger than 8?
CREATE TABLE table_name_87 (losses INTEGER, scored VARCHAR, points VARCHAR)
SELECT AVG(losses) FROM table_name_87 WHERE scored = 9 AND points > 8
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (losses INTEGER, scored VARCHAR, points VARCHAR) Question: Which Losses has Scored of 9, and Points larger than 8? [/INST] SELECT AVG(losses) FROM table_name_87 WHERE scored = 9 AND points > 8 </s>