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

### Instruction:
Who was the trainer when Mckaymackenna won?

### Inputs:
table_name: table, columns: ['Year', 'Winner', 'Jockey', 'Trainer', 'Owner']

### Response:
SELECT Trainer FROM table WHERE Winner = mckaymackenna