QuestionQ149Verified/Using the Set OperatorsCopy linkReport a problemAsk AstroTutorSave questionWhich statement is true about the INTERSECT operator used in compound queries?AIt processes NULLs in the selected columns.BIt ignores NULLs.CINTERSECT is of lower precedence than UNION or UNION ALL.DMultiple INTERSECT operators are not possible in the same SQL statement.Show AnswerAnswerExplanationINTERSECT returns rows common to its component query results and does not ignore NULL-valued selected columns. Common NULL values are included in intersection processing. Oracle documents that INTERSECT returns distinct rows selected by both queries, while all set operators have equal precedence and can be combined in one compound query.Learn moreOracle Database SQL Language Reference: The Set OperatorsOracle Database SQL Language Reference: About SQL OperatorsShow comments1Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion