CREATE TABLE "notes" (
  "member" text,
  "party" text,
  "electorate" text,
  "state" text,
  "first_elected" text
);

Question: Which state was first elected in 1914, and a Member of edward jolley?
SQL: SELECT "state" FROM "notes" WHERE "first_elected"='1914' AND "member"='edward jolley';

Question: Which state is frederick bamford a member of?
SQL: SELECT "state" FROM "notes" WHERE "member"='frederick bamford';

Question: Which first election for the labor party is James Sharpe a part of?
SQL: SELECT "first_elected" FROM "notes" WHERE "party"='labor' AND "member"='james sharpe';

Question: Which party is sydney sampson a member of?
SQL: SELECT "party" FROM "notes" WHERE "member"='sydney sampson';