What type of document is that?
SELECT document_type_code FROM documents ORDER BY access_count DESC LIMIT 1
most accessed document refers to MAX(access_count); type of document refers to document_type_code;