CREATE TABLE "california" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text
);

Question: Which District has a First Elected of 1904 and an Incumbent of Duncan E. Mckinlay?
SQL: SELECT "district" FROM "california" WHERE "first_elected"=1904 AND "incumbent"='duncan e. mckinlay';

Question: What's the highest First Elected with a Result of Re-elected and DIstrict of California 5?
SQL: SELECT MAX("first_elected") FROM "california" WHERE "result"='re-elected' AND "district"='california 5';

Question: Which Incumbent has a District of California 8?
SQL: SELECT "incumbent" FROM "california" WHERE "district"='california 8';

Question: Which District has a Result of Re-elected and a First Elected of 1898?
SQL: SELECT "district" FROM "california" WHERE "result"='re-elected' AND "first_elected"=1898;

Question: Which Incumbent has a District of California 5?
SQL: SELECT "incumbent" FROM "california" WHERE "district"='california 5';