Oracle Database Administration I — Question 5

Which two are true about a SQL statement using SET operators such as UNION? (Choose two.)

Answer options

Correct answer: A, B

Explanation

Option A is correct because when using UNION, each column's data type group must match between the two queries. Option B is also correct as it specifies that only the number of columns needs to be identical, not their names. Options C, D, and E are incorrect because they impose stricter requirements that are not necessary for executing a UNION operation.