7.Which two statements are true regarding the USING and ON clauses in table joins? (Choose two.)
2016-01-19 10:36
435 查看
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.
答案:CD
解析:using 只能用在equiue join ,而且必须列的名字要相同,类型可以不同,但是可以隐式转过去
on 可以用在等或不等的连接上,名字可以不等,类型可以不同,但是可以隐式转过去
A:错误
B:错误,只要名字一样就能连接,不是只有2个列
C:正确
D:正确,where是对结果集的筛选
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.
答案:CD
解析:using 只能用在equiue join ,而且必须列的名字要相同,类型可以不同,但是可以隐式转过去
on 可以用在等或不等的连接上,名字可以不等,类型可以不同,但是可以隐式转过去
A:错误
B:错误,只要名字一样就能连接,不是只有2个列
C:正确
D:正确,where是对结果集的筛选
相关文章推荐
- UIScrollView 代理方法
- ${pageContext.request.contextPath} JSP取得绝对路径
- easyui datagrid-detailview 嵌套高度自适应
- UIView--UIImageView
- Android Volley入门到精通:定制自己的Request(示例,出错代码)
- ueditor调用其中的附件上传功能
- PHP 使用 $_SERVER['PHP_SELF'] 获取当前页面地址,$_SERVER['REQUEST_URI']获取完整参数URL
- 01-UI基础-04-02-UITableView多组数据显示
- IOS开发之自定义UITabBarController
- UIBezierPath贝塞尔曲线的常用方法总结
- 通过@Value注解读取.properties配置内容
- 【HDU】 1242 Rescue
- Duilib介绍以及各个类的简介
- 处理隐藏导航栏底部的横线首先要明白苹果导航栏底部横线用的是UIImageView
- Android UI线程和非UI线程
- EF框架step by step(9)—Code First Fluent API
- bzoj1570: [JSOI2008]Blue Mary的旅行
- CodeForces 527D Clique Problem
- async = require('async')
- iOS学习笔记5-UIView