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

Question: What is the highest decile of Tarras school, which had a state authority?
SQL: SELECT MAX("decile") FROM "central_otago_district" WHERE "authority"='state' AND "name"='tarras school';

Question: What is the decile of the school with a roll larger than 513?
SQL: SELECT SUM("decile") FROM "central_otago_district" WHERE "roll">513;

Question: What is the area of Cromwell Primary school, which has a state authority?
SQL: SELECT "area" FROM "central_otago_district" WHERE "authority"='state' AND "name"='cromwell primary school';