What's the code of the district in which 312520 people lived in 2011?
CREATE TABLE table_2801442_1 (code VARCHAR, population__2011_census_ VARCHAR)
SELECT code FROM table_2801442_1 WHERE population__2011_census_ = 312520
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_2801442_1 (code VARCHAR, population__2011_census_ VARCHAR) Question: What's the code of the district in which 312520 people lived in 2011? [/INST] SELECT code FROM table_2801442_1 WHERE population__2011_census_ = 312520 </s>