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

### Instruction:
What was the result for james o'h. patterson when first elected in 1904?

### Inputs:
table_name: table, columns: ['District', 'Incumbent', 'Party', 'First elected', 'Result']

### Response:
SELECT Result FROM table WHERE First elected = 1904 AND Incumbent = james o'h. patterson