What document types have more than 2 corresponding documents?
create table documents (document_type_code varchar, PRIMARY KEY (document_type_code))
select document_type_code from documents group by document_type_code having count(*) > 2