What is the last date of the staff leaving the projects?
CREATE TABLE Project_Staff (date_to VARCHAR)
SELECT TOP 1 date_to FROM Project_Staff ORDER BY date_to DESC
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Project_Staff (date_to VARCHAR) Question: What is the last date of the staff leaving the projects? [/INST] SELECT TOP 1 date_to FROM Project_Staff ORDER BY date_to DESC </s>