What document types have more than 2 corresponding documents?
CREATE TABLE documents (document_type_code VARCHAR)
[SQL] SELECT document_type_code FROM documents GROUP BY document_type_code HAVING COUNT(*) > 2 [/SQL]