instruction: Return a bar chart on how many hours do the students spend studying in each department?, and I want to sort by the y axis in ascending.
response: SELECT DEPT_CODE, SUM(STU_HRS) FROM STUDENT GROUP BY DEPT_CODE ORDER BY SUM(STU_HRS)