user: Question: what is the 1st pary when the second is Whig?
Columns: ['Election', '1st Member', '1st Party', '2nd Member', '2nd Party']
Types: ['text', 'text', 'text', 'text', 'text']
Sample row: ['1832', 'Lord John Lennox', 'Whig', 'The Earl of Surrey', 'Whig']
SQL:

assistant: SELECT "1st Party" FROM "Table" WHERE "2nd Party" = 'Whig';