Table: election_1924_results
Columns: office
democratic_ticket
republican_ticket
socialist_ticket
workers_ticket

Question: What is the name on the Socialist ticket when the Democratic ticket is george k. shuler?
SQL: SELECT "socialist_ticket" FROM election_1924_results WHERE "democratic_ticket" = 'george k. shuler'

Question: What is the name on the Democratic ticket when the Workers ticket is franklin p. brill?
SQL: SELECT "democratic_ticket" FROM election_1924_results WHERE "workers_ticket" = 'franklin p. brill'

Question: What is the name on the Democratic ticket when the Workers ticket is james p. cannon?
SQL: SELECT "democratic_ticket" FROM election_1924_results WHERE "workers_ticket" = 'james p. cannon'

Question: What is the Office when the Republican ticket shows seymour lowman?
SQL: SELECT "office" FROM election_1924_results WHERE "republican_ticket" = 'seymour lowman'

Question: What is the name on the Republican ticket when the Socialist ticket was louis waldman?
SQL: SELECT "republican_ticket" FROM election_1924_results WHERE "socialist_ticket" = 'louis waldman'

Question: What is the name on the Republican ticket when the Workers ticket is edward lindgren?
SQL: SELECT "republican_ticket" FROM election_1924_results WHERE "workers_ticket" = 'edward lindgren'