Task: Text to Code
Input (English): Step 1: For each row in Document_Functional_Areas table, find corresponding rows in Functional_Areas table and in Documents table.
Step 2: find the average access_count in the results of step 1 whose parent_functional_area_code equals Acknowledgement
Output (English): SELECT Avg ( T2.access_count ) FROM Functional_Areas AS T1 JOIN Documents AS T2 JOIN Document_Functional_Areas AS T3 ON T1.functional_area_code = T3.functional_area_code AND T3.document_code = T2.document_code WHERE T1.parent_functional_area_code = "Acknowledgement"