CREATE TABLE "dunedin_city" (
  "name" text,
  "years" text,
  "gender" text,
  "area" text,
  "authority" text,
  "decile" real,
  "roll" real
);

Question: Where is the coed school with state authority, a Decile larger than 6 and 26 enrolled?
SQL: SELECT "area" FROM "dunedin_city" WHERE "authority"='state' AND "decile">6 AND "gender"='coed' AND "roll"=26;

Question: What is the average roll for Fairfield school?
SQL: SELECT AVG("roll") FROM "dunedin_city" WHERE "name"='fairfield school';

Question: Which school has a roll larger than 26 and is located in Fairfield?
SQL: SELECT "name" FROM "dunedin_city" WHERE "roll">26 AND "area"='fairfield';