user: Question: What was the office up for election when Sylvia Weinstein ran under the Socialist Workers 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 "Office" FROM "Table" WHERE "Socialist Workers ticket" = 'Sylvia Weinstein';