会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
求路问道
不积跬步,无以至千里.不积小流,无以成江海
博客园
首页
新随笔
联系
订阅
管理
2022年3月31日
利用聚合函数GROUP BY ROLLUP 添加一行合计数据
摘要: select case when qugroupc=0 and mgroupc=1 then CONCAT(substring( REVERSE(qu),1,1),'','季度') when qugroupc=1 and mgroupc=1 then '年度' else m end m,count
阅读全文
posted @ 2022-03-31 14:48 求路问道
阅读(70)
评论(0)
推荐(0)
编辑
公告