CREATE TABLE "members_of_parliament" (
  "election" text,
  "1st_member" text,
  "1st_party" text,
  "2nd_member" text,
  "2nd_party" text
);

Question: In which election was the constituency abolished?
SQL: SELECT "election" FROM "members_of_parliament" WHERE "1st_member"='constituency abolished';

Question: What was the 1st party with a 1st member of John Willis Fleming?
SQL: SELECT "1st_party" FROM "members_of_parliament" WHERE "1st_member"='john willis fleming';

Question: What is the 1st party when the 2nd party is constituency abolished?
SQL: SELECT "1st_party" FROM "members_of_parliament" WHERE "2nd_party"='constituency abolished';

Question: Who is the 2nd member during 1885 election?
SQL: SELECT "2nd_member" FROM "members_of_parliament" WHERE "election"='1885';

Question: What is the 1st party during the 1857 election?
SQL: SELECT "1st_party" FROM "members_of_parliament" WHERE "election"='1857';