CREATE TABLE election (election_id DECIMAL, representative_id DECIMAL, date TEXT, votes DECIMAL, vote_percent DECIMAL, seats DECIMAL, place DECIMAL)
CREATE TABLE representative (representative_id DECIMAL, name TEXT, state TEXT, party TEXT, lifespan TEXT)

Show the parties that have both representatives in New York state and representatives in Pennsylvania state.
SELECT party FROM representative WHERE state = "New York" INTERSECT SELECT party FROM representative WHERE state = "Pennsylvania"
SELECT "party" FROM "representative" WHERE "New York" = "state" INTERSECT SELECT "party" FROM "representative" WHERE "Pennsylvania" = "state"