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_7 (byes INTEGER, losses VARCHAR, against VARCHAR)
  ### Question:
  Which Byes have Losses larger than 0, and an Against larger than 3049?
  ### Answer:
  SELECT AVG(byes) FROM table_name_7 WHERE losses > 0 AND against > 3049