QuestionQ55Verified/Restricting and Sorting DataCopy linkReport a problemAsk AstroTutorSave questionWhich two statements are correct about the UNION and UNION ALL operators?Choose twoADuplicates are eliminated automatically by the UNION ALL operatorBThe number of columns selected in each SELECT statement must be identicalCThe names of columns selected in each SELECT statement must be identicalDThe output is sorted by the UNION ALL operatorENULLS are not ignored during duplicate checkingShow AnswerAnswerExplanationSet operators require their component SELECT statements to return the same number of columns. Column names do not need to match. UNION performs duplicate elimination, and NULL values are included in the duplicate-row comparison rather than ignored.Show comments1Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion