oracle积累

1,将查询得到的数据以字符串的形式展示 并以,隔开 wmsys.wm_concat(列名)
例如:
select type from A where name in('手机','视频','搜索')
type
4
3
8
select wmsys.wm_concat(type) from A where name in('手机','视频','搜索')
结果
4,3,8

你可能感兴趣的:(oracle积累)