Which district had a first elected in 1882 with a result of re-elected?
CREATE TABLE "south_carolina" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "result" text
);
SELECT "district" FROM "south_carolina" WHERE "first_elected"=1882 AND "result"='re-elected';