У меня есть treeview
, отображаемый из Kartik Tree Manager . Ниже представлено мое древовидное представление

Table

What I want to do?
I want to select all the child nodes of Floor-1
via MySQL
query
I have tried to run a query like below
SELECT * FROM `mdc_node` m
WHERE m.`lft` = 11-2
Output

Desired Output
I want the following output
------------------------------------------------------------
| `id` | `root` | `lft` | `rgt` | `lvl` | `name` | 'icon' |
------------------------------------------------------------
| 3 | 1 | 3 | 4 | 2 |GIS Office| folder |
| 4 | 1 | 5 | 6 | 2 | Ali | user |
| 5 | 1 | 7 | 8 | 2 | Usman | user |
| 6 | 1 | 9 | 10 | 2 | Faisal | user |
------------------------------------------------------------
Below is my SQL Fiddle
Таблица узлов
Я хочу выбрать все дочерние узлы под родительским узлом