user: Question: Which Office has a Democratic ticket of Herbert H. Lehman?
Columns: ['Office', 'Democratic ticket', 'Republican ticket', 'Law Preservation ticket', 'Socialist ticket', 'Socialist Labor ticket']
Types: ['text', 'text', 'text', 'text', 'text', 'text']
Sample row: ['Governor', 'Franklin D. Roosevelt', 'Charles H. Tuttle', 'Robert P. Carroll', 'Louis Waldman', 'Jeremiah D. Crowley']
SQL:

assistant: SELECT "Office" FROM "Table" WHERE "Democratic ticket" = 'Herbert H. Lehman';