Which years have a Decile larger than 4, and an Area of thames?
CREATE TABLE "thames_coromandel_district" (
  "name" text,
  "years" text,
  "gender" text,
  "area" text,
  "authority" text,
  "decile" real,
  "roll" real
);
SELECT "years" FROM "thames_coromandel_district" WHERE "decile">4 AND "area"='thames';