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

Question: what is the earliest first elected with the results re-elected in the district south carolina 3?
SQL: SELECT MAX("first_elected") FROM "south_carolina" WHERE "results"='Re-elected' AND "district"='South Carolina 3';

Question: what is the party with the incumbent jim demint?
SQL: SELECT "party" FROM "south_carolina" WHERE "incumbent"='Jim DeMint';

Question: what is the party for the district south carolina 4?
SQL: SELECT "party" FROM "south_carolina" WHERE "district"='South Carolina 4';

Question: what is the party when candidates is jim demint (r) 80%?
SQL: SELECT "party" FROM "south_carolina" WHERE "candidates"='Jim DeMint (R) 80%';

Question: what is the party when candidates is jim demint (r) 80%?
SQL: SELECT "party" FROM "south_carolina" WHERE "candidates"='Jim DeMint (R) 80%';

Question: who are the candidates when the incumbent is lindsey graham?
SQL: SELECT "candidates" FROM "south_carolina" WHERE "incumbent"='Lindsey Graham';