You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_46 (area_km_2 INTEGER, official_name VARCHAR, population VARCHAR)
system
Which Area km 2 has an Official Name of stanley, and a Population larger than 1,817?
user
SELECT MAX(area_km_2) FROM table_name_46 WHERE official_name = "stanley" AND population > 1 OFFSET 817
assistant
<|im_start|>system
You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.
SCHEMA:
CREATE TABLE table_name_46 (area_km_2 INTEGER, official_name VARCHAR, population VARCHAR)<|im_end|>
<|im_start|>user
Which Area km 2 has an Official Name of stanley, and a Population larger than 1,817?<|im_end|>
