CREATE TABLE "pennsylvania" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" text,
  "results" text,
  "candidates" text
);

Question: When was Chaka Fattah first elected in the Pennsylvania 2 district? 
SQL: SELECT "first_elected" FROM "pennsylvania" WHERE "district"='Pennsylvania 2';

Question: How many incumbents were first elected in 1984? 
SQL: SELECT COUNT("incumbent") FROM "pennsylvania" WHERE "first_elected"='1984';

Question: When was incumbent Bud Shuster first elected? 
SQL: SELECT "first_elected" FROM "pennsylvania" WHERE "incumbent"='Bud Shuster';

Question: How many candidates ran in the election where Mike Doyle was the incumbent? 
SQL: SELECT COUNT("candidates") FROM "pennsylvania" WHERE "incumbent"='Mike Doyle';

Question: Incumbent Tim Holden belonged to what party? 
SQL: SELECT "party" FROM "pennsylvania" WHERE "incumbent"='Tim Holden';

Question: In what district was Tim Holden the incumbent? 
SQL: SELECT "district" FROM "pennsylvania" WHERE "incumbent"='Tim Holden';