Calculate the Sum of Salaries in an Employee Tree
Early Versions (SQL Server 2000 – 2008)Calculate the Sum of Salaries in an Employee TreeCalculate the Sum of Salaries in an Employee Tree
Itzik takes a SQL Server MVP's challenge: Calculate for each employee the sum of the salaries of all subordinates in all levels, including yourself.
Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.