斑驳。
codeing or artist ?

select MENU_ID_ from MENU connect by prior MENU_ID_ = PARENT_MENU_ID_ start with MENU_ID_ = ?;
select MENU_ID_ from MENU where MENU_STATUS_ = 1 connect by prior MENU_ID_ = PARENT_MENU_ID_ start with MENU_ID_ = ?; -- 查询后过滤
select MENU_ID_ from (select * from MENU where MENU_STATUS_ = 1) connect by prior MENU_ID_ = PARENT_MENU_ID_ start with MENU_ID_ = ?; -- 查询前过滤

posted on 2018-12-25 19:43  斑驳。  阅读(2227)  评论(0编辑  收藏  举报