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

Question: What district was a republican first elected in 2000?
SQL: SELECT "district" FROM "missouri" WHERE "first_elected"=2000 AND "party"='republican';

Question: In what district was incumbent Russ Carnahan elected after 2000?
SQL: SELECT "district" FROM "missouri" WHERE "first_elected">2000 AND "incumbent"='russ carnahan';