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

Question: What incumbent was re-elected in the district in california 3?
SQL: SELECT "incumbent" FROM "california" WHERE "result"='re-elected' AND "district"='california 3';

Question: What is the district of the incumbent Thomas Larkin Thompson?
SQL: SELECT "district" FROM "california" WHERE "incumbent"='thomas larkin thompson';

Question: What incumbent has a re-elected result and first elected larger than 1884?
SQL: SELECT "incumbent" FROM "california" WHERE "result"='re-elected' AND "first_elected">1884;