CREATE TABLE "pennsylvania" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" real,
  "status" text,
  "opponent" text
);

Question: What party does ron klink represent?
SQL: SELECT "party" FROM "pennsylvania" WHERE "incumbent"='Ron Klink';

Question: Who was in the election that was for incumbent bud shuster's seat?
SQL: SELECT "opponent" FROM "pennsylvania" WHERE "incumbent"='Bud Shuster';

Question: What district had someone first elected in 1982?
SQL: SELECT "district" FROM "pennsylvania" WHERE "first_elected"=1982;

Question: How many republican incumbents first elected in 1974?
SQL: SELECT COUNT("incumbent") FROM "pennsylvania" WHERE "party"='Republican' AND "first_elected"=1974;

Question: What was the result of the election where william f. goodling was the incumbent?
SQL: SELECT "status" FROM "pennsylvania" WHERE "incumbent"='William F. Goodling';