I have this SQL code and it works fine, but I want to show the department name and total of departments before the group by start.
Please look at the screenshot for more detail:

select department, EmpName, Sum(Debi), sum(Credi)
from Total_Income
group by EmpName, Department