【Oracle 12c】最新CUUG OCP-071考试题库(59题)

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 条件是分开处理的

 

)

转载于:https://my.oschina.net/u/3902946/blog/3018068

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值