Depth First Strategy with Hierarchical data using CTE (Common Table Expression) - SQL Server | The SQL Ideas