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

### Instruction:
What is the lowest 1988-89, when Average is greater than 0.965, when 1987-88 is "40", when 1986-87 is "49", and when Points is greater than 123?

### Inputs:
table_name: table, columns: ['Team', 'Average', 'Points', 'Played', '1986-87', '1987-88', '1988-89']

### Response:
SELECT MIN 1988-89 FROM table WHERE Average > 0.965 AND 1987-88 = 40 AND 1986-87 = 49 AND Points > 123