Thank you in advance for assistance!
What i am trying to accomplish is this: I have a table with different salary grades in the same department. How can I display the Salary Grades in the Columns, with the count below for each columns, and then show the GRAND to of salary grades for each department. This is what i have:
Dept_Num Dept_Name Salary_Grade TOTAL_SalaryGrade
2005 Mrktg 1 39
2005 Mrktg 2 26
2005 Mrktg 3 5
2010 Payroll 1 20
2010 Payroll 2 8
2015 Acct 1 6
2015 Acct 3 6
Dept_Num Dept_Name Salary_Grade 1 Salary_Grade 2 Salary_Grade 3
2005 Mrktg 39 26 5
2010 Payroll 20 8 0
2015 Acct 6 0 6
TOTAL_SalaryGrade 65 34 11
SELECT[Dept_Num]
,[Dept_Name]
[Salary_Grades],
[TOTAL_Salary_Grades],
FROM [Employees]
Thank you for any assistance given!