Chinaunix首页 | 论坛 | 博客
  • 博客访问: 595761
  • 博文数量: 487
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 4916
  • 用 户 组: 普通用户
  • 注册时间: 2018-07-05 13:59
个人简介

ocp考试资料群:569933648 验证码:ocp OCP 12c 19c考试题库解析与资料群:钉钉群号:35277291

文章分类

全部博文(487)

文章存档

2023年(37)

2021年(151)

2020年(37)

2019年(222)

2018年(38)

我的朋友

分类: Oracle

2019-03-05 13:07:19

59、(16-8)choose two:

Which two statements are true regarding the USING and ON clauses in table joins?

A) The ON clause can be used to join tables on columns that have different names but compatible data types.

B) A maximum of one pair of columns can be joined between two tables using the ON clause.

C) Both USING and ON clauses can be used for equijoins and nonequijoins.

D) The WHERE clause can be used to apply additional conditions in SELECT statements containing the ON or the USING clause.

Answer:AD

(解析:D 答案正确,不管是 ON,还是 USING 子句,都要以在后面再添加 where 子句进行补充筛选;B 答案错误,ON 子句可以连接多个列;

using 不能用于不等连接

using 连接的字段可以 data type 不等,但是名字要相等

using 跟 natural join 是相互排斥的

using 的字段是不能够再起别名

on 连接的字段 data type 要一致,名字可以不一样

where 条件和 on 条件是分开处理的


)

阅读(894) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~