Sharing my solution~ simple and easy to understand


  • 28
    B
    SELECT employer.Name
        FROM  Employee employer JOIN Employee manager ON (employer.ManagerId = manager.Id )
          WHERE employer.Salary > manager.Salary ;

Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.