会员
众包
新闻
博问
闪存
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Better late than never
创造干货,收获干货
博客园
首页
新随笔
联系
订阅
管理
2017年2月14日
Oracle行转列LISTAGG函数
摘要: 工作过程中需要将查询的数据分组并显示在一行。以往的工作经验,在sql server中可以用for xml path来实现。 现提供Oracle数据库的行转列方式 oracle11g官方文档简介如下: LISTAGG Function The LISTAGG function orders data within each group based on the ORDER BY clause and...
阅读全文
posted @ 2017-02-14 20:48 SuperRaccoon
阅读(943)
评论(0)
推荐(0)
编辑
公告