CREATE TABLE Ref_Document_Types (Document_Type_Code CHAR, Document_Type_Name VARCHAR2, Document_Type_Description VARCHAR2)
CREATE TABLE Ref_Budget_Codes (Budget_Type_Code CHAR, Budget_Type_Description VARCHAR2)
CREATE TABLE Statements (Statement_ID NUMBER, Statement_Details VARCHAR2)
CREATE TABLE Accounts (Account_ID NUMBER, Statement_ID NUMBER, Account_Details VARCHAR2)
CREATE TABLE Documents_with_Expenses (Document_ID NUMBER, Budget_Type_Code CHAR, Document_Details VARCHAR2)
CREATE TABLE Projects (Project_ID NUMBER, Project_Details VARCHAR2)
CREATE TABLE Documents (Document_ID NUMBER, Document_Type_Code CHAR, Project_ID NUMBER, Document_Date DATETIME, Document_Name VARCHAR2, Document_Description VARCHAR2, Other_Details VARCHAR2)

Show the number of documents for different budget type code in a bar chart, show by the Y-axis in desc.
SELECT T1.Budget_Type_Code, COUNT(T1.Budget_Type_Code) FROM Documents_with_Expenses AS T1 JOIN Ref_Budget_Codes AS T2 ON T1.Budget_Type_Code = T2.Budget_Type_Code GROUP BY T1.Budget_Type_Code ORDER BY COUNT(T1.Budget_Type_Code) DESC
SELECT "T1"."Budget_Type_Code", COUNT("T1"."Budget_Type_Code") FROM "Documents_with_Expenses" "T1" JOIN "Ref_Budget_Codes" "T2" ON "T1"."Budget_Type_Code" = "T2"."Budget_Type_Code" GROUP BY "T1"."Budget_Type_Code" ORDER BY COUNT("T1"."Budget_Type_Code") DESC