Task: Text to Code
Input (English): Step 1: For each row in Documents table, find the corresponding rows in Document_Sections table.
Step 2: for each value of section_title in the results of step 1, calculate number of rows.
Step 3: show each value of section_title in the results of step 1 along with the average access_count with smallest value in the results of step 2
Output (English): SELECT T1.access_count , Avg ( T1.access_count ) FROM Documents AS T1 JOIN Document_Sections AS T2 ON T1.document_code = T2.document_code GROUP BY T2.section_title ORDER BY Count ( * ) Asc LIMIT 1