instruction: How many documents are created in each day? Bin the document date by year interval and group by document type with a group line chart, I want to show Document_Date in ascending order please.
response: SELECT Document_Date, COUNT(Document_Date) FROM Ref_Document_Types AS T1 JOIN Documents AS T2 ON T1.Document_Type_Code = T2.Document_Type_Code GROUP BY Document_Type_Name ORDER BY Document_Date