QuestionQ56Verified/Using the Set OperatorsCopy linkReport a problemAsk AstroTutorSave questionWhich two statements are true about queries that use set operators such as UNION?Choose twoAIn a query containing multiple set operators, INTERSECT always takes precedence over UNION and UNION ALL.BAn expression in the first SELECT list must have a column alias for the expression.CAll set operators are valid on columns of all data types.DCHAR columns of different lengths used with a set operator return a VARCHAR2 whose length equals the longest char value.EQueries using set operators do not perform implicit conversion across data type groups (e.g. character, numeric).Show AnswerAnswerExplanationFor set operations, differing-length CHAR results produce a VARCHAR2 whose length is that of the longer CHAR value. Corresponding select-list expressions must be in the same datatype group, and Oracle does not perform implicit conversion between groups such as character and numeric.Learn moreOracle Database SQL Language Reference — The Set OperatorsShow comments1Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion