mysql查询子节点的方法:首先创建menu表,并插入数据;然后使用语句进行查询,代码为【select id from(select t1.id,if(find_in_set(parent_id, @pids) > 0......)】。
技术文章 / 下载软件趣味内容 / 专业带飞