🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Recursive CTEs: all 15 questions

Quiz: Recursive CTEs · Question 6 of 15

Why can't a single self join list all of a CEO's indirect reports?

Why can't a single self join list all of a CEO's indirect reports?

  1. A.Self joins are not allowed on employee tables
  2. B.Self joins return duplicate rows
  3. C.One self join goes down only one level; the depth of the tree is not known in advance
  4. D.Self joins cannot use NULL values
Answer & explanation

Correct answer: One self join goes down only one level; the depth of the tree is not known in advance

Each extra level needs another join; recursion handles any depth.

Can you get the rest right without peeking?

Take the timed Quiz: Recursive CTEs quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →