Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT e.[EmployeeID], e.[FirstName], e.[ManagerID], em.[FirstName] AS [ManagerName]
- FROM [Employees] e
- JOIN [Employees] em ON e.[ManagerID] = em.[EmployeeID]
- WHERE e.[ManagerID] = 3 OR e.[ManagerID] = 7
- ORDER BY e.[EmployeeID]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement