What is the average Draws, when Losses is less than 2?
CREATE TABLE table_name_97 (draws INTEGER, losses INTEGER)
SELECT AVG(draws) FROM table_name_97 WHERE losses < 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (draws INTEGER, losses INTEGER) Question: What is the average Draws, when Losses is less than 2? [/INST] SELECT AVG(draws) FROM table_name_97 WHERE losses < 2 </s>