CREATE TABLE "upper_hutt_city" (
  "name" text,
  "years" text,
  "gender" text,
  "area" text,
  "authority" text,
  "decile" text
);

Question: What years is the private school in upper hutt?
SQL: SELECT "years" FROM "upper_hutt_city" WHERE "area"='upper hutt' AND "authority"='private';

Question: What school with a decile of 7 is in upper hutt?
SQL: SELECT "name" FROM "upper_hutt_city" WHERE "decile"='7' AND "area"='upper hutt';

Question: What authority is the coed school in pinehaven?
SQL: SELECT "authority" FROM "upper_hutt_city" WHERE "gender"='coed' AND "area"='pinehaven';

Question: What years does plateau school serve?
SQL: SELECT "years" FROM "upper_hutt_city" WHERE "name"='plateau school';

Question: Is Upper valley middle school public or private?
SQL: SELECT "authority" FROM "upper_hutt_city" WHERE "name"='upper valley middle school';