---
title: "Discussion on \"one tree, two paths: my SQL hierarchy dilemma\" | Hashnode"
description: "Discussion on \"one tree, two paths: my SQL hierarchy dilemma\". Discover how to manage SQL hierarchies using Materialized Path and Recursive SQL, exploring their benefits, limitations, and best use cases"
url: "https://hashnode.com/posts/my-sql-hierarchy-dilemma/6875ec48f77e6703193f3b31"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [one tree, two paths: my SQL hierarchy dilemma](https://writeups.vineet.wiki/my-sql-hierarchy-dilemma?utm_source=hashnode&utm_medium=feed)

Discover how to manage SQL hierarchies using Materialized Path and Recursive SQL, exploring their benefits, limitations, and best use cases

Jul 12, 2025 · 7 min read · writeups.vineet.wiki  
Read the article

-   [#sql](https://hashnode.com/tag/sql)
-   [#hierarchy](https://hashnode.com/tag/hierarchy)
-   [#tree](https://hashnode.com/tag/tree)
-   [#postgresql](https://hashnode.com/tag/postgresql)
-   [#backend](https://hashnode.com/tag/backend)

## Written by

[Vineet Likhitkar](https://hashnode.com/@iamv1n)

@iamv1n · India

  
[View profile](https://hashnode.com/@iamv1n)

Software Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
