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_28 (played INTEGER, points VARCHAR, position VARCHAR)
  ### Question:
  Which Played has a Points of 2, and a Position smaller than 8?
  ### Answer:
  SELECT AVG(played) FROM table_name_28 WHERE points = 2 AND position < 8