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

Question: Who opposed Marty Meehan in each election?
SQL: SELECT "opponent" FROM "massachusetts" WHERE "incumbent"='Marty Meehan';

Question: Who are the opponents in Massachusetts5 district?
SQL: SELECT "opponent" FROM "massachusetts" WHERE "district"='Massachusetts5';

Question: What parties are represented in Massachusetts4 district?
SQL: SELECT "party" FROM "massachusetts" WHERE "district"='Massachusetts4';

Question: Who is the incumbent in district Massachusetts7?
SQL: SELECT "incumbent" FROM "massachusetts" WHERE "district"='Massachusetts7';