How to display those employees who are working in the same dept where his manager is work?

Oracle Apps Interview QuestionsCategory: SQLHow to display those employees who are working in the same dept where his manager is work?
Questions Master asked 9 years ago

How to display those employees who are working in the same dept where his  manager is work?

1 Answers
Shailender Thallam Staff answered 9 years ago

SELECT p.ename FROM emp e,emp p WHERE e.empno=p.mgr AND p.deptno=e.deptno;