会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
明永成
导航
管理
2011年3月16日
with语法,需要递归的面试题目
摘要: http://www.dusystem.com/bbs/ShowPost.asp?ThreadID=5631 答案 with CET as ( select C1,C2,1 as l1,2 as [l2] from a where c1='A' union all select a.*,l1+1,l2+1 from CET inner join a on CET.c2=a.c1) select *...
阅读全文
posted @ 2011-03-16 15:12 明永成
阅读(129)
评论(0)
推荐(0)
编辑