CREATE TABLE "alabama" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "results" text
);

Question: What is the most recent year for a first elected republican?
SQL: SELECT MAX("first_elected") FROM "alabama" WHERE "party"='republican';

Question: What is the first elected for Jo Bonner?
SQL: SELECT MIN("first_elected") FROM "alabama" WHERE "incumbent"='jo bonner';