D
D
dllweb2016-12-28 23:06:11
MySQL
dllweb, 2016-12-28 23:06:11

How to select a parent in a tree stored in sql using the nested set method?

The question is right in the title - How to select a parent in a tree stored in sql using the nested set method?
There is a field in the table
name left_key right_key level
Need to choose a parent for category n, how to build a query?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dllweb, 2016-12-29
@dllweb

Found a decent alternative

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question