can you show me a list of location name?
select location_name from ref_locations
yes
select date_in_locaton_to from document_locations
show the location name and code with the least documents.
select t2.location_name, t1.location_code from document_locations as t1 join ref_locations as t2 on t1.location_code = t2.location_code group by t1.location_code order by count ( * ) asc limit 1