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_39 (goals_against INTEGER, games_played INTEGER)
  ### Question:
  What is the mean number of goals against when there were fewer than 8 games played?
  ### Answer:
  SELECT AVG(goals_against) FROM table_name_39 WHERE games_played < 8