CREATE TABLE table_name_7 (byes INT, losses VARCHAR, against VARCHAR)

Which Byes have Losses larger than 0, and an Against larger than 3049?
SELECT AVG(byes) FROM table_name_7 WHERE losses > 0 AND against > 3049
SELECT AVG("byes") FROM "table_name_7" WHERE "against" > 3049 AND "losses" > 0