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

Question: What is the Onehunga school with a decile 3 and smaller than 310 rolls?
SQL: SELECT "name" FROM "maungakiekie_tamaki_local_board" WHERE "decile"='3' AND "roll"<310 AND "area"='onehunga';

Question: What is the authority status of the school in Ellerslie with a decile of 7?
SQL: SELECT "authority" FROM "maungakiekie_tamaki_local_board" WHERE "area"='ellerslie' AND "decile"='7';

Question: What is the biggest roll number of Sylvia Park School, which has a state authority?
SQL: SELECT MAX("roll") FROM "maungakiekie_tamaki_local_board" WHERE "authority"='state' AND "name"='sylvia park school';

Question: What is the name of the school with a decile of 1, a state authority, and located in Otahuhu?
SQL: SELECT "name" FROM "maungakiekie_tamaki_local_board" WHERE "decile"='1' AND "authority"='state' AND "area"='otahuhu';