question: What is the name on the Republican ticket when the Socialist ticket was louis waldman?
answer: SELECT republican_ticket FROM table_name_17 WHERE socialist_ticket = "louis waldman"
context: CREATE TABLE table_name_17 (republican_ticket VARCHAR, socialist_ticket VARCHAR)