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