CREATE TABLE "provinces" (
  "province" text,
  "inhabitants" real,
  "established" real,
  "president" text,
  "party" text,
  "election" real
);

Question: What party established in 1797 won an election in 2007?
SQL: SELECT "party" FROM "provinces" WHERE "established">1797 AND "election"=2007;