摘要: 执行结果: sql: 执行结果: 原理分析: 这个join最基本原理是笛卡尔积。通过这个方式来实现循环。 分析: length(a.path) - length(replace(a.path,',',''))+1 表示了,按照逗号分割后,分割需要循环的次数。 join过程: 根据ID进行循环 { 判 阅读全文
posted @ 2017-12-25 11:27 tooy 阅读(12208) 评论(0) 推荐(0) 编辑