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_51 (wins INTEGER, losses INTEGER)
  ### Question:
  For the teams that had less than 1 loss, what was the average number of Wins?
  ### Answer:
  SELECT AVG(wins) FROM table_name_51 WHERE losses < 1