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

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'