题解 | 支付成功的订单数

select
    # 题目答案有问题
    if(u.product_id = 'p599','p100',u.product_id),
    count(trace_id) as cnt
from
    user_client_log u,
    product_info p
where
    u.product_id = p.product_id
    and step = 'order'
group by
    u.product_id
order by
    cnt desc,
    u.product_id asc
limit
    1

全部评论

相关推荐

VirtualBool:都去逗他了?
点赞 评论 收藏
分享
SHC2:关键问题是你这三段实习是三个不同的岗位…你这样子秋招就是只有一段实习的本科生..
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客企业服务