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

Question: Name the years for elsthorpe school
SQL: SELECT "years" FROM "central_hawke_s_bay_district" WHERE "name"='elsthorpe school';

Question: Name the total number of roll for st joseph's school when decile is less than 5
SQL: SELECT COUNT("roll") FROM "central_hawke_s_bay_district" WHERE "name"='st joseph''s school' AND "decile"<5;

Question: Name the years for porangahau school
SQL: SELECT "years" FROM "central_hawke_s_bay_district" WHERE "area"='porangahau' AND "name"='porangahau school';

Question: Name the gender for elsthorpe school
SQL: SELECT "gender" FROM "central_hawke_s_bay_district" WHERE "name"='elsthorpe school';