Question: What is the name of the document with the most number of sections?
Schema: create table document_sections (document_code varchar, PRIMARY KEY (document_code)); create table documents (document_name varchar, document_code varchar, PRIMARY KEY (document_name))
SQL: select t1.document_name from documents as t1 join document_sections as t2 on t1.document_code = t2.document_code group by t1.document_code order by count(*) desc limit 1