MGR 代表經(jīng)理編號(hào) 對(duì)應(yīng) 主鍵 EMPNO , EMPNO代表員工編號(hào)
1 回答

慕絲7291255
TA貢獻(xiàn)1859條經(jīng)驗(yàn) 獲得超6個(gè)贊
select t.*,(select e.ename from emp e where e.deptno=t.deptno and r.job='manager') handName from emp t
添加回答
舉報(bào)
0/150
提交
取消