Which Year is the highest one that has a Population larger than 13,012, and a Borough of richmondshire?
CREATE TABLE "settlements_by_population" (
  "rank" real,
  "town" text,
  "population" real,
  "year" real,
  "borough" text,
  "definition" text
);
SELECT MAX("year") FROM "settlements_by_population" WHERE "population">'13,012' AND "borough"='richmondshire';