CREATE TABLE "historical" (
  "begin_date" text,
  "representative" text,
  "date_of_birth" text,
  "house_term" text,
  "state_served" text,
  "party" text,
  "age_years_days" text
);

Question: What was the date of birth of a republican member of the United States House of Representatives who held the term of 1863-1865?
SQL: SELECT "date_of_birth" FROM "historical" WHERE "party"='republican' AND "house_term"='1863-1865';

Question: What was the age of the member of the United States House of Representatives that began their term on May 7, 1886?
SQL: SELECT "age_years_days" FROM "historical" WHERE "begin_date"='may 7, 1886';

Question: What was the date of birth of the member of the United States House of Representatives that began their term on April 24, 1902?
SQL: SELECT "date_of_birth" FROM "historical" WHERE "begin_date"='april 24, 1902';

Question: Which member of the United States House of Representatives began their term on January 4, 1997?
SQL: SELECT "representative" FROM "historical" WHERE "begin_date"='january 4, 1997';

Question: Which state did Samuel Thatcher of the Federalist party represent?
SQL: SELECT "state_served" FROM "historical" WHERE "party"='federalist' AND "representative"='samuel thatcher';