Choose two.ide
Which two statements are true about a self join?ui
A) The join key column must have an index.it
B) It can be a left outer join.class
C) It must be a full outer join.select
D) It can be an inner join.di
E) It must be an equie join.view
Answer:BDvi
(自鏈接其實跟兩張表的鏈接同樣。能夠是等鏈接、左右外鏈接等等。co
不過在進行內鏈接時爲了區別表的名字,須要加別名join
select w.ename,m.ename
from emp2 w
inner join emp2 m
on w.mgr=m.empno;
)