CREATE TABLE documents (document_code VARCHAR2, document_name VARCHAR2)
CREATE TABLE document_sections (section_title VARCHAR2, document_code VARCHAR2)

What are all the section titles of the document named 'David CV'?
SELECT t2.section_title FROM documents AS t1 JOIN document_sections AS t2 ON t1.document_code = t2.document_code WHERE t1.document_name = "David CV"
SELECT "t2"."section_title" FROM "documents" "t1" JOIN "document_sections" "t2" ON "t1"."document_code" = "t2"."document_code" WHERE "David CV" = "t1"."document_name"