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

### Instruction:
Who was the outgoing manager when the incoming manager was joão pereira?

### Inputs:
table_name: table, columns: ['Team', 'Outgoing manage', 'Manner', 'Date of vacancy', 'Incoming manager', 'Date of appointment']

### Response:
SELECT Outgoing manage FROM table WHERE Incoming manager = João Pereira