What is the average number of losses for teams with under 16 points and under 3 draws?
CREATE TABLE table_name_8 (losses INTEGER, points VARCHAR, draws VARCHAR)
SELECT AVG(losses) FROM table_name_8 WHERE points < 16 AND draws < 3
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_8 (losses INTEGER, points VARCHAR, draws VARCHAR) Question: What is the average number of losses for teams with under 16 points and under 3 draws? [/INST] SELECT AVG(losses) FROM table_name_8 WHERE points < 16 AND draws < 3 </s>