List document type codes and the number of documents in each code.
CREATE TABLE Documents (document_type_code VARCHAR)
SELECT document_type_code, COUNT(*) FROM Documents GROUP BY document_type_code
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE Documents (document_type_code VARCHAR) Question: List document type codes and the number of documents in each code. [/INST] SELECT document_type_code, COUNT(*) FROM Documents GROUP BY document_type_code </s>