7369 is working in department 20 and his manager is FORD.
I am trying to display above format using oracle 10g scott/tiger schema EMP table.
i have tried with this query , but am unable display the exact ouput
select empno ||' is working in department '|| deptno ||' and his manager is '||
(select distinct b.ename
from emp a,emp b
where b.empno=a.mgr) from emp
any modifications !!....
I am trying to display above format using oracle 10g scott/tiger schema EMP table.
i have tried with this query , but am unable display the exact ouput
select empno ||' is working in department '|| deptno ||' and his manager is '||
(select distinct b.ename
from emp a,emp b
where b.empno=a.mgr) from emp
any modifications !!....