含雪幸福

导航

 

2019年12月26日

摘要: 在日常开发中,经常遇到查询子表数据,特别是在统计报表的时候,可能只显示子表某一个字段的信息,就会使用到将子表多条数据的同一个字段的值拼接成一个字段。 方法如下: 例如:查询销售表表,需要销售金额进行拼接 结果如下 拼接字段SQL: 查询结果: ListAgg 阅读全文
posted @ 2019-12-26 16:26 含雪幸福 阅读(1586) 评论(0) 推荐(0) 编辑
 
 
/*生成博客目录的CSS*/ #uprightsideBar{ font-size:12px; font-family:Arial, Helvetica, sans-serif; text-align:left; position:fixed;/*将div的位置固定到距离top:50px,right:0px的位置,这样div就会处在最右边的位置,距离顶部50px*/ top:50px; right:0px; width: auto; height: auto; } #sideBarTab{ float:left; width:30px; border:1px solid #e5e5e5; border-right:none; text-align:center; background:#ffffff; } #sideBarContents{ float:left; overflow:auto; overflow-x:hidden;!important; width:200px; min-height:108px; max-height:460px; border:1px solid #e5e5e5; border-right:none; background:#ffffff; } #sideBarContents dl{ margin:0; padding:0; } #sideBarContents dt{ margin-top:5px; margin-left:5px; } #sideBarContents dd, dt { cursor: pointer; } #sideBarContents dd:hover, dt:hover { color:#A7995A; } #sideBarContents dd{ margin-left:20px; }