CREATE TABLE table_name_99 (socialist_workers_ticket VARCHAR, republican_ticket VARCHAR)

When Republican ticket was John P. Lomenzo who ran for the Socialist Workers ticket?
SELECT socialist_workers_ticket FROM table_name_99 WHERE republican_ticket = "john p. lomenzo"
SELECT "socialist_workers_ticket" FROM "table_name_99" WHERE "john p. lomenzo" = "republican_ticket"