Primary Department for Each Employee
SQL walkthrough: keep the department flagged Y, or the only department an employee has even when its flag is N.
SQL walkthrough: keep the department flagged Y, or the only department an employee has even when its flag is N.