What are the average byes that are greater than 1479, wins greater than 5 and 0 draws?
CREATE TABLE table_name_5 (byes INTEGER, draws VARCHAR, against VARCHAR, wins VARCHAR)
SELECT AVG(byes) FROM table_name_5 WHERE against > 1479 AND wins > 5 AND draws < 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (byes INTEGER, draws VARCHAR, against VARCHAR, wins VARCHAR) Question: What are the average byes that are greater than 1479, wins greater than 5 and 0 draws? [/INST] SELECT AVG(byes) FROM table_name_5 WHERE against > 1479 AND wins > 5 AND draws < 0 </s>