CREATE TABLE documents (document_type_code VARCHAR)

What document types have more than 2 corresponding documents?
SELECT document_type_code FROM documents GROUP BY document_type_code HAVING COUNT(*) > 2
SELECT "document_type_code" FROM "documents" GROUP BY "document_type_code" HAVING COUNT(*) > 2