题解 | 未下单用户统计

未下单用户统计

https://www.nowcoder.com/practice/3433aee5c7824255b2dd2879b30df090

--另一个思路
select 
count(distinct case when order_id is null then uf.uid end) as cnt
from order_log lg right join user_info uf on 
lg.uid=uf.uid 

全部评论

相关推荐

哞客37422655...:你猜为什么福利这么好还得一直追着你问
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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