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