What is th average dras when wins are less than 12 and the against is 989?
CREATE TABLE table_name_15 (draws INTEGER, against VARCHAR, wins VARCHAR)
SELECT AVG(draws) FROM table_name_15 WHERE against = 989 AND wins < 12
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_15 (draws INTEGER, against VARCHAR, wins VARCHAR) Question: What is th average dras when wins are less than 12 and the against is 989? [/INST] SELECT AVG(draws) FROM table_name_15 WHERE against = 989 AND wins < 12 </s>