SELECT e1.Name EmployeeName, ISNULL(e2.name, 'Top Manager') AS ManagerNameFROM Employee e1LEFT JOIN Employee e2ON e1.ManagerID = e2.EmployeeID
No comments:
Post a Comment