【2019年8月版】OCP 071认证考试原题-第33题
2019-11-20 09:26
1151 查看
Choose three.
Which three statements are true about a self join?
A) It must be an inner join.
B) It can be an outer join.
C) The ON clause must be used.
D) It must be an equijoin.
E) The query must use twodifferent aliases for the table.
F) The ON clause can be used.
Answer::BCD
(解析:左连接其实就是左外连接,是不同的称呼而已,其结果都是一样的,ANSI 语法有左连接的语法,而 oracle 语法中用(+)来表示。)
select emp.empno,emp.deptno,dept.deptno,dept.dname
from emp left join dept on emp.deptno=dept.deptno;
select emp.empno,emp.deptno,dept.deptno,dept.dname
from emp left outer join dept on emp.deptno=dept.deptno;
select emp.empno,emp.deptno,dept.deptno,dept.dname
from emp ,dept
where emp.deptno=dept.deptno(+)
相关文章推荐
- 【2019年8月版本】OCP 071认证考试最新版本的考试原题-第6题
- 【2019年8月版本】OCP 071认证考试最新版本的考试原题-第13题
- 【2019年8月版本】OCP 071认证考试最新版本的考试原题-第7题
- 【2019年8月】OCP 071认证考试最新版本的考试原题-第14题
- 【2019年8月】OCP 071认证考试最新版本的考试原题-第25题
- 【2019年8月】OCP 071认证考试最新版本的考试原题-第29题
- 【2019年8月版本】OCP 071认证考试最新版本的考试原题-第8题
- 【2019年8月】OCP 071认证考试最新版本的考试原题-第26题
- 【2019年8月版本】OCP 071认证考试最新版本的考试原题-第8题
- 【2019年8月】OCP 071认证考试最新版本的考试原题-第31题
- 【2019年8月版本】OCP 071认证考试最新版本的考试原题-第9题
- 【2019年8月】OCP 071认证考试最新版本的考试原题-第15题
- 【2019年8月】OCP 071认证考试最新版本的考试原题-第21题
- 【2019年8月】OCP 071认证考试最新版本的考试原题-第26题
- 【2019年8月】OCP 071认证考试最新版本的考试原题-第32题
- 【2019年8月版本】OCP 071认证考试最新版本的考试原题-第9题
- 【2019年8月】OCP 071认证考试最新版本的考试原题-第16题
- 【2019年8月】OCP 071认证考试最新版本的考试原题-第21题
- 【2019年8月】OCP 071认证考试最新版本的考试原题-第25题
- 【2019年8月版】OCP 071认证考试原题-第34题