处理前: 多行合并后:
select LISTAGG(begindate,chr(13)) WITHIN GROUP (ORDER BY begindate desc) from hi_psndoc_work where pk_psndoc=‘000111100000000JJO4Z‘
备注:Excel替换“换行”:Ctrl+J (笔记本)
原文:https://www.cnblogs.com/zs-chenkang/p/13394201.html