CREATE TABLE table_name_46 (area_km_2 INT, official_name VARCHAR, population VARCHAR)

Which Area km 2 has an Official Name of stanley, and a Population larger than 1,817?
SELECT MAX(area_km_2) FROM table_name_46 WHERE official_name = "stanley" AND population > 1 OFFSET 817
SELECT MAX("area_km_2") FROM "table_name_46" WHERE "official_name" = "stanley" AND "population" > 1 OFFSET 817