Table: election_results_1838
Columns: district
incumbent
party
first_elected
result
candidates

Question: Which party does the incumbent Mathias Morris belong to?
SQL: SELECT "party" FROM election_results_1838 WHERE "incumbent" = 'Mathias Morris'

Question: Which district does the incumbent Luther Reily represent?
SQL: SELECT "district" FROM election_results_1838 WHERE "incumbent" = 'Luther Reily'

Question: Who are the candidates for the Pennsylvania 11 district?
SQL: SELECT "candidates" FROM election_results_1838 WHERE "district" = 'Pennsylvania 11'

Question: How many people won the election in the Pennsylvania 11 district?
SQL: SELECT COUNT("candidates") FROM election_results_1838 WHERE "district" = 'Pennsylvania 11'