What is Date To, when Name is "Lee Cook"?
CREATE TABLE table_name_47 (date_to VARCHAR, name VARCHAR)
SELECT date_to FROM table_name_47 WHERE name = "lee cook"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (date_to VARCHAR, name VARCHAR) Question: What is Date To, when Name is "Lee Cook"? [/INST] SELECT date_to FROM table_name_47 WHERE name = "lee cook" </s>