Below is the list of tables from the database along with their columns and datatype. Need to generate an accurate SQL query for the question.
Only use the columns present in the respective table. Only use the columns which are required to generate the SQL query. Only use table joins if required and not otherwise.

### Tables ###
TABLE: CREATE TABLE roles ( role_code text, role_description text )
TABLE: CREATE TABLE document_functional_areas ( document_code text, functional_area_code text )
TABLE: CREATE TABLE document_sections ( section_id number, document_code text, section_sequence number, section_code text, section_title text )
TABLE: CREATE TABLE document_sections_images ( section_id number, image_id number )
TABLE: CREATE TABLE users ( user_id number, role_code text, user_name text, user_login text, password text )
TABLE: CREATE TABLE documents ( document_code text, document_structure_code text, document_type_code text, access_count number, document_name text )
TABLE: CREATE TABLE document_structures ( document_structure_code text, parent_document_structure_code text, document_structure_description text )
TABLE: CREATE TABLE functional_areas ( functional_area_code text, parent_functional_area_code text, functional_area_description text )
TABLE: CREATE TABLE images ( image_id number, image_alt_text text, image_name text, image_url text )

### Question ###
What is the name of the document with the most number of sections?

### Accurate 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