user: Question: When John Emanuel ran under the Socialist Labor ticket who ran under the Democratic ticket?
Columns: ['Office', 'Republican ticket', 'Democratic ticket', 'Liberal ticket', 'Conservative ticket', 'Socialist Workers ticket', 'Socialist Labor ticket']
Types: ['text', 'text', 'text', 'text', 'text', 'text', 'text']
Sample row: ['Governor', 'Nelson A. Rockefeller', 'Robert M. Morgenthau', 'Robert M. Morgenthau', 'David H. Jaquith', 'Richard Garza', 'Eric Hass']
SQL:

assistant: SELECT "Democratic ticket" FROM "Table" WHERE "Socialist Labor ticket" = 'John Emanuel';