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_37 (points INTEGER, games VARCHAR, losses VARCHAR)
  ### Question:
  What is the average number of points for a team that played 17 games and had more than 15 losses?
  ### Answer:
  SELECT AVG(points) FROM table_name_37 WHERE games = 17 AND losses > 15