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

Question: What is District, when Incumbent is "Richard Neal"?
SQL: SELECT "district" FROM "massachusetts" WHERE "incumbent"='richard neal';

Question: What is the lowest First Elected, when District is "Massachusetts 10"?
SQL: SELECT MIN("first_elected") FROM "massachusetts" WHERE "district"='massachusetts 10';

Question: What is the average First Elected, when District is "Massachusetts 3"?
SQL: SELECT AVG("first_elected") FROM "massachusetts" WHERE "district"='massachusetts 3';