What document types have more than 2 corresponding documents?
CREATE TABLE documents (document_type_code VARCHAR)
SELECT document_type_code FROM documents GROUP BY document_type_code HAVING COUNT(*) > 2
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE documents (document_type_code VARCHAR) Question: What document types have more than 2 corresponding documents? [/INST] SELECT document_type_code FROM documents GROUP BY document_type_code HAVING COUNT(*) > 2 </s>