What is the average of wins when the byes are less than 0?
CREATE TABLE table_name_31 (wins INTEGER, byes INTEGER)
SELECT AVG(wins) FROM table_name_31 WHERE byes < 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (wins INTEGER, byes INTEGER) Question: What is the average of wins when the byes are less than 0? [/INST] SELECT AVG(wins) FROM table_name_31 WHERE byes < 0 </s>