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

Question: which election year has henry wyndham as the 2nd member and walter barttelot as 1st member?
SQL: SELECT "election" FROM west_sussex_elections WHERE "2nd_member" = 'henry wyndham' AND "1st_member" = 'walter barttelot'

Question: what election year has 2nd party conservative with 2nd member henry wyndham and 1st member walter barttelot?
SQL: SELECT "election" FROM west_sussex_elections WHERE "2nd_party" = 'conservative' AND "2nd_member" = 'henry wyndham' AND "1st_member" = 'walter barttelot'

Question: what is the 1st pary when the second is whig?
SQL: SELECT "1st_party" FROM west_sussex_elections WHERE "2nd_party" = 'whig'

Question: what is the election year with henry wyndham as 2nd member and walter barttelot as 1st?
SQL: SELECT "election" FROM west_sussex_elections WHERE "2nd_member" = 'henry wyndham' AND "1st_member" = 'walter barttelot'