How many goals were scored when they had over 28 points and played over 18 games?
CREATE TABLE table_name_33 (goals_scored INTEGER, points VARCHAR, played VARCHAR)
SELECT MAX(goals_scored) FROM table_name_33 WHERE points > 28 AND played > 18
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (goals_scored INTEGER, points VARCHAR, played VARCHAR) Question: How many goals were scored when they had over 28 points and played over 18 games? [/INST] SELECT MAX(goals_scored) FROM table_name_33 WHERE points > 28 AND played > 18 </s>