What is the smallest number of "goals for" out of the clubs where there were 18 wins and fewer than 38 "goals against"?
CREATE TABLE table_name_85 (goals_for INTEGER, wins VARCHAR, goals_against VARCHAR)
SELECT MIN(goals_for) FROM table_name_85 WHERE wins = 18 AND goals_against < 38
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (goals_for INTEGER, wins VARCHAR, goals_against VARCHAR) Question: What is the smallest number of "goals for" out of the clubs where there were 18 wins and fewer than 38 "goals against"? [/INST] SELECT MIN(goals_for) FROM table_name_85 WHERE wins = 18 AND goals_against < 38 </s>