Skip to content
brickster.ai
All videos
tutorialsAdvancing Analytics·August 14, 2025

How to use Recursive CTEs in Databricks

Summary

The video demonstrates how to use recursive CTEs in Databricks to traverse hierarchical data structures of unknown depth, such as data lineage or organizational charts. It shows how to write a recursive CTE in SQL, highlighting the `RECURSIVE` keyword and the union of an anchor member and a recursive member.

Summary generated by brickster.ai from the video transcript.

More from Advancing Analytics