CREATE TABLE "1966_state_election_results" (
  "office" text,
  "republican_ticket" text,
  "democratic_ticket" text,
  "conservative_ticket" text,
  "liberal_ticket" text,
  "socialist_labor_ticket" text,
  "socialist_workers_ticket" text
);

Question: Which republican ticket has stanley h. fuld as the Democratic ticket?
SQL: SELECT "republican_ticket" FROM "1966_state_election_results" 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 "1966_state_election_results" WHERE "socialist_workers_ticket"='judith white';

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

Question: Which office has kieran o'doherty as the conservative ticket?
SQL: SELECT "office" FROM "1966_state_election_results" 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 "1966_state_election_results" WHERE "socialist_labor_ticket"='(none)' AND "liberal_ticket"='stanley h. fuld';