human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Election, 1st Member, 1st Party, 2nd Member, 2nd Party
###Question: What election has a 1st member of richard blakemore and a 2nd member of william goodenough hayter?
gpt
SELECT Election FROM table WHERE 2nd Member = william goodenough hayter AND 1st Member = richard blakemore