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

Question: What is the lowest decile that Ohau School has?
SQL: SELECT MIN("decile") FROM "horowhenua_district" WHERE "name"='ohau school';

Question: What gender is allowed to attend the school that has a decile of 6 and a roll that is less than 179?
SQL: SELECT "gender" FROM "horowhenua_district" WHERE "decile"=6 AND "roll"<179;

Question: What gender is allowed at the school which has a roll of 338?
SQL: SELECT "gender" FROM "horowhenua_district" WHERE "roll"=338;

Question: What authority controls the school in Levin that has a decile of 6, and a roll of 226?
SQL: SELECT "authority" FROM "horowhenua_district" WHERE "decile"=6 AND "area"='levin' AND "roll"=226;