Get the App
SLTechnology News&Howtos  ›  Database  › 

[August 2019] original question of OCP 071 Certification examination-question 34

Shulou Source: shulou.com Published: 2022-06-01 22:13:17 10月06日 Update

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

(parsing: intersect sorts the output by the value of the first column of the first query. Because the table is intersected, the query order of the table can be in no particular order; the names of the columns can be different, but the data types must match.)

Tags: Query intersection sequence name data type order sort output certification exam exam certification Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia Xiaomi Shulou Information MariaDB vpn