Determine a média de acessos de documentos com a estrutura menos popular.
CREATE TABLE documents (access_count INTEGER, document_structure_code VARCHAR)
SELECT AVG(access_count) FROM documents GROUP BY document_structure_code ORDER BY COUNT(*) LIMIT 1