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_83 (points INTEGER, draw VARCHAR, played VARCHAR)
  ### Question:
  What was the highest number of points scored when there was a draw of 2 and when the amount played was 18?
  ### Answer:
  SELECT MAX(points) FROM table_name_83 WHERE draw = 2 AND played < 18