human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: District, Incumbent, Party, First elected, Result
###Question: Which District has a First Elected of 1904 and an Incumbent of Duncan E. Mckinlay?
gpt
SELECT District FROM table WHERE First elected = 1904 AND Incumbent = duncan e. mckinlay