Which two are true about a SQL statement using SET operators such as UNION? (Choose two.)
A.
The data type group of each column returned by the second query must match the data type group of the corresponding column returned by the first query.
B.
The names and number of columns must be identical for all select statements in the query.
C.
The data type of each column returned by the second query must be implicitly convertible to the data type of the corresponding column returned by the first query.
D.
The data type of each column returned by the second query must exactly match the data type of the corresponding column returned by the first query.
E.
The number, but not names, of columns must be identical for all select statements in the query.
c is incorrect ->The set operators are not valid on columns of type BLOB, CLOB, BFILE, VARRAY, or nested table.
i think D E are correct
The UNION, INTERSECT, and MINUS operators are not valid on LONG columns.
https://docs.oracle.com/en/database/oracle/oracle-database/19/sqlrf/The-UNION-ALL-INTERSECT-MINUS-Operators.html#GUID-B64FE747-586E-4513-945F-80CB197125EE
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
ShahedOdeh
3 weeks, 5 days agoFargo01
6 months, 3 weeks agozzz02
3 weeks, 4 days agoyaya32
9 months agolucemqy
11 months agoobsy
1 year, 3 months agodilshod
1 year, 4 months agoNelita
1 year, 4 months agoViviana3184
1 year, 9 months agoViviana3184
1 year, 9 months ago