博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
OCP-1Z0-051-名称解析-文章7称号
阅读量:6913 次
发布时间:2019-06-27

本文共 923 字,大约阅读时间需要 3 分钟。

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

(Choose two.)

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

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

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

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

Answer: CD

题目解析:

A:  Using和On子句都能够用于等式和不等式连接(错误,Using仅仅能用于等式连接)

B:在两个表之间使用On子句最大仅仅能连接两个字段(错误,能够连接多个字段,如,on e.empno=d.empno and e.deptno=d.deptno)

C:On子句能够连接两个表中名称不同的字段,但数据类型要兼容(正确。On子句能够连接不同的字段名。Using仅仅能用于同样的字段名)

D:  在包括On和Using子句的Select语句中。能够使用Where语句作为附加的条件(正确,比如:

SELECT e.department_id, d.department_idFROM employees e JOIN departments d ON (e.department_id = d.department_id) Where e.department_id>20;

版权声明:本文博主原创文章,博客,未经同意不得转载。

你可能感兴趣的文章
教你构建iSCSI服务器实现SAN存储模型
查看>>
python 脚本学习(二)
查看>>
活动目录里导出用户信息后在Access里update数据的"风波"
查看>>
Gartner:2012年SIEM(安全信息与事件管理)市场分析报告
查看>>
Hyper-V 3.0部署PART 11:创建Hyper-V群集
查看>>
PowerShell 运维菜鸟系列-01-批量为n台服务器导入PFX证书(2017年除夕奉献)
查看>>
管理的相对公平
查看>>
SCCM2012 R2集成WSUS服务器-1:启用软件更新点
查看>>
zabbix agentd错误日志解决办法
查看>>
让别人认识你是你的职责
查看>>
MyBatis入门示例——MyBatis学习笔记之一
查看>>
Windows server 2012体验之服务器池管理
查看>>
电信级虚拟化到来-【软件和信息服务】2014.04
查看>>
数据中心的重要服务器如何保护?
查看>>
IT人的自我导向型学习:开篇杂谈
查看>>
LVS+keeplived+nginx+apache搭建高可用、高性能php集群
查看>>
Android应用开发新路线(用HTML5开发Android应用)
查看>>
《Ext JS 4.2 实战》可以买了
查看>>
中国已经过了做手机操作系统的窗口期
查看>>
学生电脑何时能“成为自己”?
查看>>