Database: document_management
Question: Find the average access count of documents with the least popular structure.
SQL:
SELECT avg(access_count) FROM documents GROUP BY document_structure_code ORDER BY count(*) ASC LIMIT 1