How many goals have more than 38 played and more than 9 draws?
CREATE TABLE table_name_5 (goals_for INTEGER, draws VARCHAR, played VARCHAR)
SELECT SUM(goals_for) FROM table_name_5 WHERE draws > 9 AND played > 38
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (goals_for INTEGER, draws VARCHAR, played VARCHAR) Question: How many goals have more than 38 played and more than 9 draws? [/INST] SELECT SUM(goals_for) FROM table_name_5 WHERE draws > 9 AND played > 38 </s>