CREATE TABLE "south_carolina" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" text,
  "result" text
);

Question: when first elected was 1900 what was the district?
SQL: SELECT "district" FROM "south_carolina" WHERE "first_elected"='1900';

Question: when first elected was 1898 what was the party?
SQL: SELECT "party" FROM "south_carolina" WHERE "first_elected"='1898';