SELECT document_type_code FROM Documents GROUP BY document_type_code HAVING count(*)  <  3
Show the document type code with fewer than 3 documents.
SELECT document_type_code FROM Documents GROUP BY document_type_code HAVING count ( * ) < 3
select document_type_code from documents group by document_type_code having count ( * ) < value
Show the document type code with fewer than 3 documents .