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

Question: What incumbent was first elected in 2009?
SQL: SELECT "incumbent" FROM "california" WHERE "first_elected"=2009;

Question: How many were first elected in California 7?
SQL: SELECT "first_elected" FROM "california" WHERE "district"='California 7';

Question: What district did George Miller belong to?
SQL: SELECT "district" FROM "california" WHERE "incumbent"='George Miller';