Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
Which Byes has an Against smaller than 1297, and a Club of avoca, and Wins larger than 12?

### Inputs:
table_name: table, columns: ['Club', 'Wins', 'Byes', 'Losses', 'Against']

### Response:
SELECT AVG Byes FROM table WHERE Against < 1297 AND Club = avoca AND Wins > 12