微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

【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 会以第一个查询的第一个列的值进行排序输出,由于求的是交集,所以表的查询顺序可以不分先后;列的名字可以不一样,但是数据类型必须匹配。)

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐