层级关系查询
SELECT
region.INDEX_CODE,
region.NAME,
region.PARENT_INDEX_CODE,
region.TREE_CODE,
region.CLOUD_ID,
region.TYPE,
region.DEPT_ID
FROM
table region START WITH region.INDEX_CODE = 'xxxxx' CONNECT BY PRIOR region.INDEX_CODE = region.PARENT_INDEX_CODE