摘要: ;with cte as ( select * from tb where id=@id union all select a.* from tb a join cte b on a.id=b.pid ) select * from cte http://bbs.csdn.net/topics/38 阅读全文
posted @ 2017-05-25 08:43 RenBwo 阅读(2637) 评论(0) 推荐(0) 编辑