Find all the name of documents without any sections.
create table document_sections (document_name varchar, document_code varchar, PRIMARY KEY (document_name)); create table documents (document_name varchar, document_code varchar, PRIMARY KEY (document_name))
select document_name from documents where not document_code in (select document_code from document_sections)