Snowflake Vs MS-SQL - Part 12 - Hierarchical Data and CONNECT BY
Hierarchical Data Suppose you have data in a table for lineage MS-SQL Server When you want to represent data hierarchically then you can use the self-join query as below. In Snowflake we can achieve this by using the same query as above. Also, there is a new sub-clause of the FROM clause known as - CONNECT BY . 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 LinkedInProfile <<< Back Next >>>