Oracle中group by与listagg用法及区别

1.初始的sql:html select t.* from wp_shipinto t where substr(to_char(t.pshipdate),0,6) = '201907';  查询结果:sql   2.使用group by来对itemcode,年月进行分组,分组后行转列显示:post select s.itemcode,substr(to_char(s.pshipdate),0,6
相关文章
相关标签/搜索