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_52 (goals_for INTEGER, rank VARCHAR)
  ### Question:
  How many goals on average are there for rank 3?
  ### Answer:
  SELECT AVG(goals_for) FROM table_name_52 WHERE rank = 3