CREATE TABLE table_1342233_17 (first_elected VARCHAR(255), incumbent VARCHAR(255))
What year was incumbent joe b. bates first elected?
    
SQL: SELECT first_elected FROM table_1342233_17 WHERE incumbent = "Joe B. Bates"