unnested
Explore
Pro
Sign in
Learn SQL
Recursive CTEs
Pro
12 questions
Unlock all 12 questions with a Pro subscription.
Upgrade to Pro
Output
Easy
Generating a number sequence
Multiple choice
Easy
Two halves joined by UNION ALL
Multiple choice
Easy
What makes a CTE recursive at all
Multiple choice
Easy
What actually stops the recursion
Multiple choice
Easy
When recursion beats a regular join
Multiple choice
Medium
UNION vs UNION ALL in recursive CTEs
Output
Medium
Tracking depth
Multiple choice
Medium
Walking an org hierarchy
Multiple choice
Medium
Building a path string
Output
Medium
Generating a date series
Multiple choice
Hard
Preventing infinite loops
Output
Hard
Fibonacci sequence