user: ### NOW ANSWER:
Question: What year was Hazel Grove the constituent for the Liberal party?
Columns: ['Candidate', 'Party', 'Constituency', 'Year', 'Days']
Types: ['text', 'text', 'text', 'text', 'text']
Sample row: ['Alfred Dobbs', 'Labour', 'Smethwick', '1945', '1 1']
SQL:

assistant: SELECT "Year" FROM "Table" WHERE "Party" = 'Liberal' AND "Constituency" = 'Hazel Grove';