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

Question: Which party with an 1835 election has 1st member William Denison?
SQL: SELECT "2nd_party" FROM "members_of_parliament" WHERE "1st_member"='william denison' AND "election"='1835';

Question: Which party's 1st member is William Denison in the election of 1832?
SQL: SELECT "1st_party" FROM "members_of_parliament" WHERE "1st_member"='william denison' AND "election"='1832';

Question: Which party's 1st member is John Ivatt Briscoe in an election in 1857?
SQL: SELECT "1st_party" FROM "members_of_parliament" WHERE "1st_member"='john ivatt briscoe' AND "election"='1857';