MySql Recursive - get all children and parents from a given id

后端 未结 0 1791
独厮守ぢ
独厮守ぢ 2020-12-20 14:16

MySQL Version 8.0 Schema SQL

CREATE TABLE IF NOT EXISTS `department` (
  `id` INT NOT NULL,
  `name` VARCHAR(45) NOT NULL,
  `father` INT NULL,
  PRIMARY KEY          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题