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

Question: In which district is the incumbent a republican first elected in 1998?
SQL: SELECT "district" FROM "north_carolina" WHERE "party"='republican' AND "first_elected"=1998;

Question: What is the party affiliation of Virginia Foxx?
SQL: SELECT "party" FROM "north_carolina" WHERE "incumbent"='virginia foxx';