CREATE TABLE "members_of_parliament" (
  "election" text,
  "1st_member" text,
  "1st_party" text,
  "2nd_member" text,
  "2nd_party" text,
  "3rd_member" text,
  "3rd_party" text
);

Question: What is the name of the 1st Party that has a 3rd Party of Unionist, and 2nd Member of Sir John Boyd-Orr?
SQL: SELECT "1st_party" FROM "members_of_parliament" WHERE "3rd_party"='unionist' AND "2nd_member"='sir john boyd-orr';

Question: Which Election had 2nd Member George Alexander Morrison, a 1st Party of Unionist, and 3rd Member of John Buchan?
SQL: SELECT "election" FROM "members_of_parliament" WHERE "2nd_member"='george alexander morrison' AND "1st_party"='unionist' AND "3rd_member"='john buchan';

Question: What was the 2nd Party in the 1918 Election?
SQL: SELECT "2nd_party" FROM "members_of_parliament" WHERE "election"='1918';

Question: What 3rd Member had 2nd Member of University Constituencies abolished?
SQL: SELECT "3rd_member" FROM "members_of_parliament" WHERE "2nd_member"='university constituencies abolished';

Question: What was the 3rd Party in the Election of 1922?
SQL: SELECT "3rd_party" FROM "members_of_parliament" WHERE "election"='1922';

Question: What was the 1st Party when the 2nd Party was Independent?
SQL: SELECT "1st_party" FROM "members_of_parliament" WHERE "2nd_party"='independent';