QuestionQ261Verified/Using the Set OperatorsCopy linkReport a problemAsk AstroTutorSave questionWhich two statements about the UNION and UNION ALL operators are true?Choose twoADuplicates are eliminated automatically by the UNION ALL operator.BThe output is sorted by the UNION ALL operator.CThe names of columns selected in each SELECT statement must be identical.DNULLs are not ignored during duplicate checking.EThe number of columns selected in each SELECT statement must be identical.Show AnswerAnswerExplanationCorresponding expressions in the select lists of compound-query components must match in number and be in compatible data-type groups. UNION removes duplicate rows, including rows whose corresponding column values are NULL; UNION ALL retains duplicates and does not itself sort the result set.Learn moreOracle Database SQL Language Reference: The Set OperatorsOracle Database SQL Language Reference: Set OperatorsShow comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion