select sum(b.money) ,biz_type,pay_type from a left join b on a.order_id = b.order_id where a.time between '2020-02-01' and '2020-02-15' and a.order_status=5 group by biz_type,pay_type select t1.a1) / t2.a2 from (select count(1) as a1 from (select 1 from c group by order_id ) t1, (select count(1) as a2 from a
2 1

相关推荐

不愿透露姓名的神秘牛友
10-16 14:55
追觅 数据产品 14x15 硕士海归
点赞 评论 收藏
分享
不愿透露姓名的神秘牛友
10-18 23:57
已编辑
滴滴出行 数据产品 18*15 硕士211
点赞 评论 收藏
分享
牛客网
牛客企业服务