Question: What are the document id of all the location code? | Do you mean you wanna see the whole document ids or see the document id and its location codes at the same time. | Whole document ids
SQL: SELECT distinct document_id FROM Document_locations