1. 程式人生 > >OCP-1Z0-051-題目解析-第9題

OCP-1Z0-051-題目解析-第9題

lec 字段 ans cte ria reg tom for rgb

9. Which statement is true regarding the INTERSECT operator?

A. It ignores NULL values.

B. Reversing the order of the intersected tables alters the result.

C. The names of columns in all SELECT statements must be identical.

D. The number of columns and data types must be identical for all SELECT statements in the query.

Answer: D

題目解析:關於交集操作。以下哪個說法是正確的?

A:交集操作忽略Null (錯誤。交集操作不會忽略空值)

B: 交換兩個表的順序。交集的結果會不同(錯誤。交集的結果與表的順序無關)

C: 在全部的Select語句中。字段的名稱必須同樣(錯誤,字段的名稱能夠不同。但字段的數量和數據類型必須一致)

D: 在全部的Select語句中,字段的數量和數據類型必須同樣(正確)。

OCP-1Z0-051-題目解析-第9題