Snowflake Vs MS-SQL - Part 12 - Hierarchical Data
Hierarchical Data
Suppose you have data in a table for lineage
When you want to represent data hierarchically then you can use the self-join query as below.

This Joins a table to itself to process hierarchical data in the table.
Also, this clause can be displayed in the form of a path.
For more details, you can refer to the following LINK & also refer to LINK for additional hierarchical queries.
Yogesh Shinde
Comments
Post a Comment