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_59 (played INTEGER, points VARCHAR, against VARCHAR)
  ### Question:
  What is the number of games played for the team with 12 points and an against smaller than 52?
  ### Answer:
  SELECT AVG(played) FROM table_name_59 WHERE points = 12 AND against < 52