CREATE TABLE "irish_boroughs" (
  "borough" text,
  "county" text,
  "franchise_type" text,
  "members" real,
  "voters_in_1800" real,
  "times_contested" real,
  "fate_in_1832" text
);

Question: Which county has a membership of 1, a franchise type of corporation and a borough of Ennis?
SQL: SELECT "county" FROM "irish_boroughs" WHERE "members"=1 AND "franchise_type"='Corporation' AND "borough"='Ennis';

Question: What is the number of members that have boroughs of Bandon Bridge?
SQL: SELECT COUNT("members") FROM "irish_boroughs" WHERE "borough"='Bandon Bridge';

Question: What is the number of voters in 1800 that have boroughs named Drogheda?
SQL: SELECT COUNT("voters_in_1800") FROM "irish_boroughs" WHERE "borough"='Drogheda';