SELECT document_type_code FROM Documents GROUP BY document_type_code ORDER BY count(*) DESC LIMIT 1
Return the code of the document type that is most common.
SELECT document_type_code FROM Documents GROUP BY document_type_code ORDER BY count ( * ) DESC LIMIT 1
select document_type_code from documents group by document_type_code order by count ( * ) desc limit value
Return the code of the document type that is most common .