What are the codes of the locations with at least three documents?
select location_code from document_locations group by location_code having count(*) >= 3