Hacker News new | ask | show | jobs
by magnat 3008 days ago
How would you query such structure to retrieve elements in-order?
1 comments

Your best solution would probably be to use a recursive CTE if your DB supported it, but as a sibling post mentioned, it's probably not a good approach.