CREATE TABLE table_name_92 (elected VARCHAR, incumbent VARCHAR, party VARCHAR, status VARCHAR)

What year was republican, re-elected incumbent John all barham elected?
SELECT elected FROM table_name_92 WHERE party = "republican" AND status = "re-elected" AND incumbent = "john all barham"
SELECT "elected" FROM "table_name_92" WHERE "incumbent" = "john all barham" AND "party" = "republican" AND "re-elected" = "status"