When is the last day any resident moved in?
CREATE TABLE Residents (date_moved_in INTEGER)
SELECT MAX(date_moved_in) FROM Residents
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Residents (date_moved_in INTEGER) Question: When is the last day any resident moved in? [/INST] SELECT MAX(date_moved_in) FROM Residents </s>