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

Question: For a school with authority of state and a roll of 798, what is the decile?
SQL: SELECT "decile" FROM "whakatane_district" WHERE "authority"='state' AND "roll"=798;

Question: Murupara has a roll greater than 296 for what years?
SQL: SELECT "years" FROM "whakatane_district" WHERE "roll">296 AND "area"='murupara';

Question: When a school has authority of state and a decile greater than 1, what is the roll number?
SQL: SELECT "roll" FROM "whakatane_district" WHERE "authority"='state' AND "decile">1;