【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 會以第一個查詢的第一個列的值進行排序輸出,由於求的是交集,所以表的查詢順序可以不分先後;列的名字可以不一樣,但是數據類型必須匹配。)

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章