WHAT GOALS AGAINST HAD A GOAL FOR OF 46, AND PLAYED LESS THAN 38?
CREATE TABLE table_name_85 (goals_against INTEGER, goals_for VARCHAR, played VARCHAR)
SELECT SUM(goals_against) FROM table_name_85 WHERE goals_for = 46 AND played < 38
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (goals_against INTEGER, goals_for VARCHAR, played VARCHAR) Question: WHAT GOALS AGAINST HAD A GOAL FOR OF 46, AND PLAYED LESS THAN 38? [/INST] SELECT SUM(goals_against) FROM table_name_85 WHERE goals_for = 46 AND played < 38 </s>