Find the patient who has the most recent undergoing treatment?
CREATE TABLE undergoes (patient VARCHAR, dateundergoes VARCHAR)
SELECT TOP 1 patient FROM undergoes ORDER BY dateundergoes
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE undergoes (patient VARCHAR, dateundergoes VARCHAR) Question: Find the patient who has the most recent undergoing treatment? [/INST] SELECT TOP 1 patient FROM undergoes ORDER BY dateundergoes </s>