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

Question: How many districts does gary condit represent?
SQL: SELECT COUNT("district") FROM "california" WHERE "incumbent"='Gary Condit';

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

Question: What district is bill thomas from?
SQL: SELECT "district" FROM "california" WHERE "incumbent"='Bill Thomas';

Question: What district is bill thomas from?
SQL: SELECT "district" FROM "california" WHERE "incumbent"='Bill Thomas';