Home department per employee — SQL
For each employee, give the department flagged as their main membership, with a single line per person.
SQL · Easy
For each employee, give the department flagged as their main membership, with a single line per person.
SQL · Easy