You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_33 (goals_scored INTEGER, points VARCHAR, played VARCHAR)
system
How many goals were scored when they had over 28 points and played over 18 games?
user
SELECT MAX(goals_scored) FROM table_name_33 WHERE points > 28 AND played > 18
assistant
<|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_33 (goals_scored INTEGER, points VARCHAR, played VARCHAR)<|im_end|>
<|im_start|>user
How many goals were scored when they had over 28 points and played over 18 games?<|im_end|>
