【2019年8月版本】OCP 071认证考试最新版本的考试原题-第11题

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;

)

相关文章
相关标签/搜索