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_24 (total_points INTEGER, games VARCHAR, rank VARCHAR)
  ### Question:
  What was the average of points with ranks smaller than 7 but with total point games of 113?
  ### Answer:
  SELECT AVG(total_points) FROM table_name_24 WHERE games = 113 AND rank < 7