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

Question: Which Result has a Party of republican, and a First elected smaller than 1856?
SQL: SELECT "result" FROM "united_states_house_of_representatives_e" WHERE "party"='republican' AND "first_elected"<1856;

Question: Which District has a First elected of 1856, and an Incumbent of william kellogg?
SQL: SELECT "district" FROM "united_states_house_of_representatives_e" WHERE "first_elected"=1856 AND "incumbent"='william kellogg';

Question: Which First elected has a District of illinois 3?
SQL: SELECT MAX("first_elected") FROM "united_states_house_of_representatives_e" WHERE "district"='illinois 3';

Question: How much First elected has a Result of re-elected, and a Party of republican, and a District of illinois 4?
SQL: SELECT COUNT("first_elected") FROM "united_states_house_of_representatives_e" WHERE "result"='re-elected' AND "party"='republican' AND "district"='illinois 4';