QuestionQ35Verified/Using the Set OperatorsCopy linkReport a problemAsk AstroTutorSave questionReview the following statement: What is returned when it is executed?Aan errorB2 rowsC0 rowsD1 rowShow AnswerAnswerExplanationBoth component queries produce the identical row (1, 'John'). UNION returns only distinct rows, so the duplicate is eliminated and one row remains. ORDER BY 1 is valid for a compound query because it references the first select-list position.Learn moreOracle Database SQL Language Reference: Set OperatorsOracle Database SQL Language Reference: Sorting Query ResultsShow comments1Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion