OCP-1Z0-051-V9.02-121题

121. Which two  statements are true regarding the USING clause in table joins? (Choose two .)

A. It can be used to join a maximum of three tables.

B. It can be used to restrict the number of columns used in a NATURAL join.

C. It can be used to access data from tables through equijoins as well as nonequijoins.

D. It can be used to join tables that have columns with the same name and compatible data types.

Answer: BD

答案解析:

参考:http://blog.csdn.net/rlhua/article/details/12877591

A,最多可以连接三个表,错误,可以连接三个以上的表

B,限制自然连接的等值连接数,正确,因为当有多个列相匹配时,使用USING子句可仅与一列相匹配,NATURAL JOIN和USING语句是互相排斥的。

C,错误,USING只能用在等值连接,不能用在非等值连接。

D,列的名称相同和数据类型匹配,则可以连接表,正确。

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值