select * from 表名 start with(主键='0') connect by prior 主键=父主键
表中须存在一条主键为0的记录

例如:
select  *  from t_ser_problem_define start with (problem_guid = '0') connect by prior problem_guid = parent_problem_guid

相关文章:

  • 2022-12-23
  • 2021-12-13
  • 2021-07-03
  • 2021-06-08
  • 2021-12-01
  • 2022-12-23
猜你喜欢
  • 2021-09-21
  • 2022-12-23
  • 2021-08-29
  • 2021-10-20
  • 2021-11-16
相关资源
相似解决方案