摘要: 工作过程中需要将查询的数据分组并显示在一行。以往的工作经验,在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) 编辑