CREATE TABLE table_59571 ("Club" TEXT, "Wins" FLOAT, "Byes" FLOAT, "Losses" FLOAT, "Against" FLOAT)

Which Byes has an Against smaller than 1297, and a Club of avoca, and Wins larger than 12?
SELECT AVG("Byes") FROM table_59571 WHERE "Against" < '1297' AND "Club" = 'avoca' AND "Wins" > '12'
SELECT AVG("Byes") FROM "table_59571" WHERE "Against" < '1297' AND "Club" = 'avoca' AND "Wins" > '12'