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

Question: Who are the candidates when the incumbent is john pegram?
SQL: SELECT "candidates" FROM "united_states_house_of_representatives_e" WHERE "incumbent"='John Pegram';

Question: Who are the candidates for district virginia 12?
SQL: SELECT "candidates" FROM "united_states_house_of_representatives_e" WHERE "district"='Virginia 12';

Question: What is the result when the candidates are alexander smyth (dr) 100%
SQL: SELECT "result" FROM "united_states_house_of_representatives_e" WHERE "candidates"='Alexander Smyth (DR) 100%';

Question: How many times is the candidates charles f. mercer (f) 100%?
SQL: SELECT COUNT("incumbent") FROM "united_states_house_of_representatives_e" WHERE "candidates"='Charles F. Mercer (F) 100%';