Question: Who were the candidates in districk Pennsylvania 12?
SQL: SELECT "Candidates" FROM "1-2668199-2" WHERE "District" = 'Pennsylvania 12';

Question: What is the result for district Pennsylvania 6?
SQL: SELECT "Result" FROM "1-2668199-2" WHERE "District" = 'Pennsylvania 6';

Question: Who was the incumbent when the candidates were John Banks (AM) 52.2% Samuel Power (J) 47.8%?
SQL: SELECT "Incumbent" FROM "1-2668199-2" WHERE "Candidates" = 'John Banks (AM) 52.2% Samuel Power (J) 47.8%';

Question: How many times was the result was Re-elected and the party was Anti-Masonic in the district Pennsylvania 24?
SQL: SELECT COUNT("First elected") FROM "1-2668199-2" WHERE "Result" = 'Re-elected' AND "Party" = 'Anti-Masonic' AND "District" = 'Pennsylvania 24';

Question: Who were all the candidates when the results were Re-elected, first elected was 1832 and the party was Jacksonian?
SQL: SELECT "Candidates" FROM "1-2668199-2" WHERE "Result" = 'Re-elected' AND "First elected" = '1832' AND "Party" = 'Jacksonian';