← Quiz: Recursive CTEs: all 15 questions
Quiz: Recursive CTEs · Question 5 of 15
To list everyone UNDER a manager, the recursive part joins on:
To list everyone UNDER a manager, the recursive part joins on:
- A.e.manager_id = previous.emp_id
- B.e.emp_id = previous.manager_id
- C.e.emp_id = previous.emp_id
- D.e.manager_id IS NULL
Answer & explanation
Correct answer: e.manager_id = previous.emp_id
Find employees whose manager was found in the previous round.
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 →