text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### Context:
  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?
  ### Answer:
  SELECT MAX(goals_scored) FROM table_name_33 WHERE points > 28 AND played > 18