CREATE TABLE table_40778 ("Ballarat FL" CLOB, "Wins" FLOAT, "Byes" FLOAT, "Losses" FLOAT, "Draws" FLOAT, "Against" FLOAT)

What was the greatest number of Losses for the team that had 1427 Against and more than 5 Wins?
SELECT MAX("Losses") FROM table_40778 WHERE "Against" > '1427' AND "Wins" > '5'
SELECT MAX("Losses") FROM "table_40778" WHERE "Against" > '1427' AND "Wins" > '5'