SCHEMA:
CREATE TABLE table_name_33 (goals_scored INTEGER, points VARCHAR, played VARCHAR)
USER:
How many goals were scored when they had over 28 points and played over 18 games?

QUERY:
SELECT MAX(goals_scored) FROM table_name_33 WHERE points > 28 AND played > 18