MediumThe difficulty is Medium, because the solution requires multiple steps of aggregation to separate and compute summaries for different categories, involving calculations and conditional logic applied to distinct groups within the data. The complexity is further increased by the need to transform and pivot the data to achieve the desired output format across multiple departments.
ID 9921
0
Find the number of male and female employees per department and also their corresponding total salaries.
This question is part of a paid planUnlock the full question bank, official solutions and other users’ approaches.Unlock this question5-day money-back guarantee · Cancel anytime