what is the average losses when the club is warrnambool and wins is less than 12?
CREATE TABLE table_name_58 (losses INTEGER, club VARCHAR, wins VARCHAR)
SELECT AVG(losses) FROM table_name_58 WHERE club = "warrnambool" AND wins < 12
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_58 (losses INTEGER, club VARCHAR, wins VARCHAR) Question: what is the average losses when the club is warrnambool and wins is less than 12? [/INST] SELECT AVG(losses) FROM table_name_58 WHERE club = "warrnambool" AND wins < 12 </s>