Question: What is First elected that has republican Party and a Result of retired democratic gain?
SQL: SELECT First elected FROM table WHERE Party = republican AND Result = retired democratic gain