【2019年8月版】OCP 071认证考试原题-第34题

Choose two.

Which two statements are true about the results of using the INTERSECT operator in compound queres?

A) reversing the order of the intersected tables can sometimes affect the output.

B) Column names in each SELECT in the compound query can be dfferent.

C) INTERSECT returns rows common to both sides of the compound query.

D) The number of columns in each SELECT in the compound query can be dfferent.

E) INTERSECT ignores NULLs

Answer::BC

(解析:intersect 会以第一个查询的第一个列的值进行排序输出,由于求的是交集,所以表的查询顺序可以不分先后;列的名字可以不一样,但是数据类型必须匹配。)

相关文章

这篇文章主要介绍“hive和mysql的区别是什么”,在日常操作中...
这篇“MySQL数据库如何改名”文章的知识点大部分人都不太理解...
这篇文章主要介绍“mysql版本查询命令是什么”的相关知识,小...
本篇内容介绍了“mysql怎么修改字段的内容”的有关知识,在实...
这篇文章主要讲解了“mysql怎么删除unique约束”,文中的讲解...
今天小编给大家分享一下mysql怎么查询不为空的字段的相关知识...