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

Question: What was the lowest election result for President Leonardo Marras with an area smaller than 227,063 people?
SQL: SELECT MIN("election") FROM "provinces" WHERE "president"='leonardo marras' AND "inhabitants"<'227,063';

Question: What is the party affiliation for President Stefano Baccelli?
SQL: SELECT "party" FROM "provinces" WHERE "president"='stefano baccelli';

Question: What is the average election result for the province of Grosseto from 1766 and prior?
SQL: SELECT AVG("election") FROM "provinces" WHERE "province"='grosseto' AND "established"<1766;