摘要: with cte as( select Id,Pid,DeptName,0 as lvl from Department where Id = 2 union all select d.Id,d.Pid,d.DeptName,lvl+1 from cte c inner jo... 阅读全文
posted @ 2015-03-14 16:08 大力 阅读(388) 评论(0) 推荐(0) 编辑