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, PRIMARY KEY (location_code))
select location_code, date_in_location_from, date_in_locaton_to from document_locations