Table: west_surrey_elections
Columns: election
1st_member
1st_party
2nd_member
2nd_party

Question: Which party with an 1835 election has 1st member William Denison?
SQL: SELECT "2nd_party" FROM west_surrey_elections 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 west_surrey_elections 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 west_surrey_elections WHERE "1st_member" = 'john ivatt briscoe' AND "election" = '1857'