DB2遞歸查詢


with rpl (rid,rpid,rname) as
(
select rid,rpid,rname from TESTJL  where rpid=3
union all
select  child.rid,child.rpid,child.rname from rpl parent, TESTJL child where parent.rid=child.rpid
)
select * from rplit

相關文章
相關標籤/搜索