Table: election_1966_ny
Columns: office
republican_ticket
democratic_ticket
conservative_ticket
liberal_ticket
socialist_labor_ticket
socialist_workers_ticket

Question: Which republican ticket has stanley h. fuld as the Democratic ticket?
SQL: SELECT "republican_ticket" FROM election_1966_ny WHERE "democratic_ticket" = 'stanley h. fuld'

Question: What is the liberal ticket that has judith white as the socialist workers?
SQL: SELECT "liberal_ticket" FROM election_1966_ny WHERE "socialist_workers_ticket" = 'judith white'

Question: What socialist workers ticket has malcolm wilson as the Republican ticket?
SQL: SELECT "socialist_workers_ticket" FROM election_1966_ny WHERE "republican_ticket" = 'malcolm wilson'

Question: Which office has kieran o'doherty as the conservative ticket?
SQL: SELECT "office" FROM election_1966_ny WHERE "conservative_ticket" = 'kieran o''doherty'

Question: What office has (none) as the socialist labor ticket, and stanley h. fuld as the liberal ticket?
SQL: SELECT "office" FROM election_1966_ny WHERE "socialist_labor_ticket" = '(none)' AND "liberal_ticket" = 'stanley h. fuld'