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

Question: Which District has a First elected of 1858, and a Result of retired republican gain, and an Incumbent of william millward?
SQL: SELECT "district" FROM "united_states_house_of_representatives_e" WHERE "first_elected"=1858 AND "result"='retired republican gain' AND "incumbent"='william millward';

Question: Which Result has a District of pennsylvania 13?
SQL: SELECT "result" FROM "united_states_house_of_representatives_e" WHERE "district"='pennsylvania 13';

Question: Which First elected is the lowest one that has an Incumbent of william stewart?
SQL: SELECT MIN("first_elected") FROM "united_states_house_of_representatives_e" WHERE "incumbent"='william stewart';