Which Area km 2 has an Official Name of stanley, and a Population larger than 1,817?
CREATE TABLE table_name_46 (area_km_2 INTEGER, official_name VARCHAR, population VARCHAR)
SELECT MAX(area_km_2) FROM table_name_46 WHERE official_name = "stanley" AND population > 1 OFFSET 817 ROWS
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_46 (area_km_2 INTEGER, official_name VARCHAR, population VARCHAR) Question: Which Area km 2 has an Official Name of stanley, and a Population larger than 1,817? [/INST] SELECT MAX(area_km_2) FROM table_name_46 WHERE official_name = "stanley" AND population > 1 OFFSET 817 ROWS </s>