When against is more than 1244 with less than 8 losses, what is the average of wins?
CREATE TABLE table_name_82 (wins INTEGER, against VARCHAR, losses VARCHAR)
SELECT AVG(wins) FROM table_name_82 WHERE against > 1244 AND losses < 8
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (wins INTEGER, against VARCHAR, losses VARCHAR) Question: When against is more than 1244 with less than 8 losses, what is the average of wins? [/INST] SELECT AVG(wins) FROM table_name_82 WHERE against > 1244 AND losses < 8 </s>