text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### Context:
  CREATE TABLE table_name_2 (party VARCHAR, result VARCHAR, district VARCHAR)
  ### Question:
  Which party was re-elected in south carolina 5 district?
  ### Answer:
  SELECT party FROM table_name_2 WHERE result = "re-elected" AND district = "south carolina 5"