QuestionQ118Verified/Joining TablesCopy linkReport a problemAsk AstroTutorSave questionWhich two statements are correct about a self join?Choose twoAIt can be an inner join.BIt can be a left outer join.CIt must be an equijoin.DThe join key column must have an index.EIt must be a full outer join.Show AnswerAnswerExplanationA self join treats one table as two separately aliased row sources. It can therefore be expressed as an inner join, which returns matching rows, or as a left outer join, which also retains unmatched rows from the left row source. Neither an equijoin predicate nor an index is inherently required.Learn moreOracle Database SQL Language Reference — SELECTShow comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion