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_89 (losses INTEGER, goals_for VARCHAR, points VARCHAR)
  ### Question:
  What were the highest losses when the goal was smaller than 45 and the points was smaller than 18?
  ### Answer:
  SELECT MAX(losses) FROM table_name_89 WHERE goals_for < 45 AND points < 18