首页
Java
登录
6mi
u
盘
搜
搜 索
Java
多条数据进行合并成一条数据,逗号分隔
多条数据进行合并成一条数据,逗号分隔
xiaoxiao
2021-02-28
29
原始数据:
合并后的数据:
--id是你需要合并的字段
select listagg(id, ',') within group(order by id) as col_name
from table
转载请注明原文地址: https://www.6miu.com/read-2400103.html
技术
最新回复
(
0
)