Hard
Window Functions
Pro Challenge
Employee Share of Department Payroll
Calculate each employee's percentage share of their department payroll. Return columns: salary, first_name, department_id, payroll_share. Order results by: department_id, salary DESC.
Preparing the interactive SQL workspace...