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_75 (byes INTEGER, against VARCHAR, draws VARCHAR)
  ### Question:
  What is the average number of Byes when there were less than 0 losses and were against 1247?
  ### Answer:
  SELECT AVG(byes) FROM table_name_75 WHERE against = 1247 AND draws < 0