question: Who's the Republican ticket with a Democratic ticket of matthew j. merritt?
answer: SELECT republican_ticket FROM table_name_49 WHERE democratic_ticket = "matthew j. merritt"
context: CREATE TABLE table_name_49 (republican_ticket VARCHAR, democratic_ticket VARCHAR)