时间:2021-07-01 10:21:17 帮助过:54人阅读
select case superguid when ‘0‘ then name else (select LISTAGG(name,‘.‘) WITHIN GROUP(ORDER BY levelno) from busfw_t_dchead where tablecode = ‘BDM_T_HC2232002019‘
start with guid = a.guid
connect by prior superguid = guid) end name from busfw_t_dchead a where tablecode = ‘BDM_T_HC2232002019‘ and isleaf = 1
oracle 取多级的表字段
标签:and ble within case star The load listagg super