CREATE TABLE table_name_24 (byes INT, losses VARCHAR, draws VARCHAR)

When losses is 6 and draws is more than 0, what is the greatest byes?
SELECT MAX(byes) FROM table_name_24 WHERE losses = 6 AND draws > 0
SELECT MAX("byes") FROM "table_name_24" WHERE "draws" > 0 AND "losses" = 6