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

Question: What Gender has the area of swannanoa?
SQL: SELECT "gender" FROM "waimakariri_district" WHERE "area"='swannanoa';

Question: What years had the decile smaller than 8 in the area of southbrook?
SQL: SELECT "years" FROM "waimakariri_district" WHERE "decile"<8 AND "area"='southbrook';