SELECT sum(access_count) FROM documents GROUP BY document_type_code ORDER BY count(*) DESC LIMIT 1
What is the total access count of documents that are of the most common document type?
SELECT sum ( access_count ) FROM documents GROUP BY document_type_code ORDER BY count ( * ) DESC LIMIT 1
select sum ( access_count ) from documents group by document_type_code order by count ( * ) desc limit value
What is the total access count of documents that are of the most common document type ?