What team has the most wins with at least 18 goals and less than 5 losses?
CREATE TABLE table_name_85 (wins INTEGER, goals_for VARCHAR, losses VARCHAR)
SELECT MAX(wins) FROM table_name_85 WHERE goals_for = 18 AND losses < 5
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (wins INTEGER, goals_for VARCHAR, losses VARCHAR) Question: What team has the most wins with at least 18 goals and less than 5 losses? [/INST] SELECT MAX(wins) FROM table_name_85 WHERE goals_for = 18 AND losses < 5 </s>