CREATE TABLE table_5784 ("District" CLOB, "Incumbent" CLOB, "Party" CLOB, "Elected" FLOAT, "Status" CLOB)

Party of republican, and a District of 7th is what elected?
SELECT "Elected" FROM table_5784 WHERE "Party" = 'republican' AND "District" = '7th'
SELECT "Elected" FROM "table_5784" WHERE "District" = '7th' AND "Party" = 'republican'