What are all the documents?
select * from documents
Show those without any sections.
select document_name from documents where document_code not in (select document_code from document_sections)