Table 2: Sum of Salaries in Employees Table Subtree

 

empid

sum_salary

2

28500.00

4

5000.00

5

12000.00

6

4500.00

8

3500.00

10

3000.00