摘要: 说明:对变量 @temp 进行累加 id 串通过,(逗号) 分割,在通过 find_in_set 查看 parent_id 是否在 @temp 中 注意:变量 @temp 只能在一条记录中用,不能在执行同一条记录的时候先设置 @temp 的值在使用,不要在同一个非set语句中同时赋值并使用同一个用户 阅读全文
posted @ 2018-07-27 11:51 tianzhongshan 阅读(311) 评论(0) 推荐(0) 编辑