摘要: 转载自:http://database.51cto.com/art/201009/227393.htmoracle数据库中如果需要使用SQL递归语句,应该怎么写呢?下面就为您介绍一个oracle中使用SQL递归语句的例子,供您参考。例子:pid id a b a c a e b b1 b b2 c c1 e e1 e e3 d d1 指定pid=a,选出 a b a c a e b b1 b b2 c c1 e e1 e e3 SQL语句:select parent,child from test start with pid='a' connect by pr... 阅读全文
posted @ 2013-08-06 16:02 小白快跑 阅读(799) 评论(0) 推荐(0) 编辑