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

Question: Which election has a 1st Member of constituency abolished?
SQL: SELECT "election" FROM nh_uk_pc WHERE "1st_member" = 'constituency abolished'

Question: Which 1st Party has an Election of 1849 by-election?
SQL: SELECT "1st_party" FROM nh_uk_pc WHERE "election" = '1849 by-election'

Question: Which 1st Party has a 2nd Party of conservative, and a 1st Member of william wither bramston beach?
SQL: SELECT "1st_party" FROM nh_uk_pc WHERE "2nd_party" = 'conservative' AND "1st_member" = 'william wither bramston beach'

Question: Which 2nd Party has a 1st Member of william wither bramston beach?
SQL: SELECT "2nd_party" FROM nh_uk_pc WHERE "1st_member" = 'william wither bramston beach'

Question: Which 2nd Party has an Election of 1837?
SQL: SELECT "2nd_party" FROM nh_uk_pc WHERE "election" = '1837'

Question: Which 1st Party has a 1st Member of william wither bramston beach?
SQL: SELECT "1st_party" FROM nh_uk_pc WHERE "1st_member" = 'william wither bramston beach'