4. Selecting ROWS to display: Step 24

Task

List the employee numbers of all the managers(2).

List the employee numbers of all the managers based on the definition that a manager is an employee whose number appears in the mgr column of another employee. DISTINCT is required here.

SQL statement