Which gender has an Authority of state, Years of 1–8, and a Decile smaller than 10, and a Roll of 36?
CREATE TABLE "wairoa_district" (
  "name" text,
  "years" text,
  "gender" text,
  "area" text,
  "authority" text,
  "decile" real,
  "roll" real
);
SELECT "gender" FROM "wairoa_district" WHERE "authority"='state' AND "years"='1–8' AND "decile"<10 AND "roll"=36;