How many section titles are there for the document "David CV"?
select count ( 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"
Please list the section titles for the document "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"
what is the section code for the section title "after" for the document "David CV"?
select t2.section_code from documents as t1 join document_sections as t2 on t1.document_code = t2.document_code where t1.document_name = "David CV" and t2.section_title = "after"
what is the document code for the section title "after" for the document "David CV"?
select t2.document_code from documents as t1 join document_sections as t2 on t1.document_code = t2.document_code where t1.document_name = "David CV" and t2.section_title = "after"