What are the codes corresponding to document types for which there are less than 3 documents?
select document_type_code from documents group by document_type_code having count(*) < 3