Recursive CTE simplified

By