Oracle函数之LISTAGG 将多行数据合并为一行
作用
可以实现将多行记录聚合为一列记录,实现数据的压缩
官方文档的解释如下:
For a specified measure,LISTAGGorders data within each group specified in theORDERBYclause and then concatenates the values of the measure column.
语法
...
原创
2020-01-07 20:54:11 ·
1068 阅读 ·
0 评论