Loading…
HR needs current headcount by department. An employee is active when employment_status = active.
Return two columns: department_name and active_headcount. Order by active_headcount from highest to lowest, then by .
department_nameCreate a free account to save your progress and reveal the worked answer for this free exercise. The complete practice library is available with Practice Pass or Mastery.