select e.id, e.name, e.salary
from employee e
where Exists (select * from employee a where e.employeeid = a.managerid)
from employee e
where Exists (select * from employee a where e.employeeid = a.managerid)
1703

被折叠的 条评论
为什么被折叠?