我心依然

统计

留言簿

个人收藏

阅读排行榜

评论排行榜

Oracle中查询指定父类ID的所有子类别

select * from table start with typeid=1 connect by prior typeid = uptype

说明:typeid 为父类ID
            uptype为该记录的父类ID字段

posted on 2007-11-08 14:22 Jerry Zhang 阅读(452) 评论(0)  编辑  收藏


只有注册用户登录后才能发表评论。


网站导航: