What document types do have more than 10000 total access number.
CREATE TABLE documents (document_type_code VARCHAR, access_count INTEGER)
SELECT document_type_code FROM documents GROUP BY document_type_code HAVING SUM(access_count) > 10000
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE documents (document_type_code VARCHAR, access_count INTEGER) Question: What document types do have more than 10000 total access number. [/INST] SELECT document_type_code FROM documents GROUP BY document_type_code HAVING SUM(access_count) > 10000 </s>