CREATE TABLE table_39219 ("District" CLOB, "Incumbent" CLOB, "Party" CLOB, "First elected" FLOAT, "Result" CLOB)

Which Party has a First elected smaller than 1878, and a District of south carolina 3?
SELECT "Party" FROM table_39219 WHERE "First elected" < '1878' AND "District" = 'south carolina 3'
SELECT "Party" FROM "table_39219" WHERE "District" = 'south carolina 3' AND "First elected" < '1878'