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

Question: Name the years with authority of state and decile more than 6 with roll less than 33
SQL: SELECT "years" FROM "rangitikei_district" WHERE "authority"='state' AND "decile">6 AND "roll"<33;

Question: Name the years for marton and decile of 3 for turakina maori girls' college?
SQL: SELECT "years" FROM "rangitikei_district" WHERE "area"='marton' AND "decile"=3 AND "name"='turakina maori girls'' college';