Find all the name of documents without any sections.
CREATE TABLE document_sections (document_name VARCHAR, document_code VARCHAR); CREATE TABLE documents (document_name VARCHAR, document_code VARCHAR)
[SQL] SELECT document_name FROM documents WHERE NOT document_code IN (SELECT document_code FROM document_sections) [/SQL]