📜  自加入经理和员工 - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:14.584000             🧑  作者: Mango

代码示例1
SELECT
    employee.Id,
        employee.FullName,
        employee.ManagerId,
        manager.FullName as ManagerName
FROM Employees employee
JOIN Employees manager
ON employee.ManagerId = manager.Id