Table schema:
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?
SQL: SELECT AVG(byes) FROM table_name_7 WHERE losses > 0 AND against > 3049