Is it possible to create a \"tree resolver\" in SQL?
I have a table:
ID Name Parent 1 a 2 b 1 3 c 1 4 d 3
Now I want a SQL
Yes it is, look here. You can use the "start with" and "connect by prior" statements, I've used this in the past to create breadcrumbs in a web app.