Table schema:
CREATE TABLE table_1342233_17 (first_elected VARCHAR, incumbent VARCHAR)

Question: What year was incumbent joe b. bates first elected?
SQL: SELECT first_elected FROM table_1342233_17 WHERE incumbent = "Joe B. Bates"