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_80 (losses INTEGER, goals_against VARCHAR, games_played VARCHAR)
  ### Question:
  what is the sum of the losses when the goals against is less than 34 and the games played is less than 8?
  ### Answer:
  SELECT SUM(losses) FROM table_name_80 WHERE goals_against < 34 AND games_played < 8