0
点赞
收藏
分享

微信扫一扫

分组

select Category,count(distinct userId) as UserCount,count(orderId) As OrderCount ,sum(PayMoney) as payMony from [ECP_Core].[dbo].[C_Fund_Detail]  

where createTime>='2022-03-10'  

and Category in('充值','打赏','赠礼','转入中心钱包')  group by Category,CAST(CreateTime as varchar(10))

举报

相关推荐

0 条评论