题解 | 未下单用户登陆渠道统计

未下单用户登陆渠道统计

https://www.nowcoder.com/practice/5090553d7854458987997a5c91c30975

with u as(
    select distinct uid,channel from user_info
    where uid not in (select uid from order_log))
select channel,count(*) as cnt
from u
group by channel
order by cnt desc,channel
limit 1

全部评论

相关推荐

评论
点赞
收藏
分享

创作者周榜

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