Table: us_house_1866_elections
Columns: district
incumbent
party
first_elected
result

Question: Who is the incumbent that is a republican and first elected before 1864?
SQL: SELECT "incumbent" FROM us_house_1866_elections WHERE "party" = 'republican' AND "first_elected" < 1864

Question: What district is the democratic Francis C. Le Blond from?
SQL: SELECT "district" FROM us_house_1866_elections WHERE "party" = 'democratic' AND "incumbent" = 'francis c. le blond'

Question: In the Ohio 4 district, that is the first elected date that has a result of re-elected?
SQL: SELECT SUM("first_elected") FROM us_house_1866_elections WHERE "result" = 're-elected' AND "district" = 'ohio 4'

Question: What is the party in Ohio 6 District?
SQL: SELECT "party" FROM us_house_1866_elections WHERE "district" = 'ohio 6'