What is the difference between common table expressions and recursive common table expressions?
Role: Data Scientist
Category: Data Manipulation (SQL/Python)
Difficulty: easy
Interview Round: Other
Overview: Asks how an ordinary common table expression differs from a recursive one in SQL. Tests CTE structure and scope, the anchor and recursive members, how the iteration runs and stops, and pitfalls such as cycles, recursion limits and engine differences.