start with....connect by 递归查询树状SQL

Select * from t_tree
 where UPPER(is_display) = 'ON'
 start with p_node_id =1 --当前节点ID
 connect by prior node_id = p_node_id
 and level <= 1 --(从父往子递归只查询一级子节点)
 order SIBLINGS by display_order

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-23
  • 2021-12-18
  • 2021-10-04
  • 2021-08-20
  • 2021-08-13
  • 2021-04-15
猜你喜欢
  • 2021-08-07
  • 2021-06-09
  • 2021-11-07
  • 2021-09-17
  • 2022-12-23
相关资源
相似解决方案