题解 | 商品销售总额分布

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

全部评论

相关推荐

不愿透露姓名的神秘牛友
07-07 11:30
仁者伍敌:kpi都懒得刷了属于是
点赞 评论 收藏
分享
每晚夜里独自颤抖:要求太多的没必要理
点赞 评论 收藏
分享
牛客38347925...:9,2学生暑期实习失利开始投小厂,给这群人整自信了
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务