Home department per employee — SQL

For each employee, give the department flagged as their main membership, with a single line per person.

SQL · Easy

More in SQL

All algorithm problems