QuestionQ102Verified/Using the SET OperatorsCopy linkReport a problemAsk AstroTutorSave questionWhich statement about the UNION operator is true?ABy default, the output is not sorted.BNull values are not ignored during duplicate checking.CNames of all columns must be identical across all select statements.DThe number of columns selected in all select statements need not be the same.Show AnswerAnswerExplanationUNION returns distinct rows, so duplicate checking includes rows that contain NULL values rather than ignoring those values. Corresponding select lists must match in number, output column names come from the leftmost query, and result ordering requires an explicit ORDER BY clause.Learn moreOracle Database SQL Language Reference — The Set OperatorsShow comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion