[August 2019] original question of OCP 071 Certification examination-question 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
(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.)