CREATE TABLE table_39250 ("Rank" FLOAT, "Town" TEXT, "Population" FLOAT, "Year" FLOAT, "Borough" TEXT, "Definition" TEXT)

Which Year is the highest one that has a Population larger than 13,012, and a Borough of richmondshire?
SELECT MAX("Year") FROM table_39250 WHERE "Population" > '13,012' AND "Borough" = 'richmondshire'
SELECT MAX("Year") FROM "table_39250" WHERE "Borough" = 'richmondshire' AND "Population" > '13,012'