Which two are true about a SQL statement using SET operators such as UNION? (Choose two.)
Which two are true about a SQL statement using SET operators such as UNION? (Choose two.)
In SQL, when using SET operators such as UNION, 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. This ensures that the UNION operation can take place without data type conflicts. Additionally, the number of columns must be identical for all select statements in the query, but the names of these columns do not need to match. This is necessary for the UNION operator to understand how to merge the result sets.
CE is 100% percent is correct
CE for sure 100%
AE for me - I don't think they need to match exactly.
The data types does not need to match exactly
AE Correct
AE are correct.
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
sorry, AE are correct, not DE