Show the location code, the starting date and ending data in that location for all the documents.
CREATE TABLE Document_locations (location_code VARCHAR, date_in_location_from VARCHAR, date_in_locaton_to VARCHAR)
SELECT location_code, date_in_location_from, date_in_locaton_to FROM Document_locations
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Document_locations (location_code VARCHAR, date_in_location_from VARCHAR, date_in_locaton_to VARCHAR) Question: Show the location code, the starting date and ending data in that location for all the documents. [/INST] SELECT location_code, date_in_location_from, date_in_locaton_to FROM Document_locations </s>