For the teams that had less than 1 loss, what was the average number of Wins?
CREATE TABLE table_name_51 (wins INTEGER, losses INTEGER)
SELECT AVG(wins) FROM table_name_51 WHERE losses < 1
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_51 (wins INTEGER, losses INTEGER) Question: For the teams that had less than 1 loss, what was the average number of Wins? [/INST] SELECT AVG(wins) FROM table_name_51 WHERE losses < 1 </s>