Table: us_house_1810_elections
Columns: district
incumbent
party
first_elected
result
candidates

Question: What district had an election with incumbent john smilie?
SQL: SELECT "district" FROM us_house_1810_elections WHERE "incumbent" = 'John Smilie'

Question: How many districts first elected someone in 1808 and had george smith as the incumbent?
SQL: SELECT COUNT("district") FROM us_house_1810_elections WHERE "first_elected" = '1808' AND "incumbent" = 'George Smith'