题解 | 商品销售总额分布

select
    if (u.pay_method = '', 'error', u.pay_method),
    count(1) as c
from
    user_client_log u,
    product_info p
where
    u.product_id = p.product_id
    and p.product_name = 'anta'
    and u.step = 'select'
group by
    u.pay_method
order by
    c desc

全部评论

相关推荐

04-10 11:56
如皋中学 Java
高斯林的信徒:双c9能简历挂的?
点赞 评论 收藏
分享
purcoter:虚拟货币预测正确率百分之99,还要找工作干嘛,不早就财富自由了
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客企业服务