Employee with maximum departments
Filed under MAQ Software
The question
Given two tables, employee (employee_id, employee_name) and department (employee_id as foreign key, dept_id), find the name of the employee who worked in the maximum number of departments.
No write-up yet. Related questions below have one.
Related MAQ Software questions
Collected from public candidate posts and coding forums. Updated Nov 2026.