网易互娱笔试

数据分析笔试
第二道编程题一直错误,跪求大佬看看错误原因
select num1 ,if(num2 is null ,0 ,num2)
from
(select * from 
(select product ,count(distinct user_id) as num1
from t_user_login
group by product)a
left join 
(select count(distinct user_id) as num2
from t_user_login
where user_id like '%NetEase%'
group by product
)b
on a.product = b.product
)
#网易互娱##笔试题目#
全部评论
b的表里面你都没有查询product
1 回复 分享
发布于 2020-04-11 21:11
没错
点赞 回复 分享
发布于 2020-04-11 21:09
错到怀疑人生
点赞 回复 分享
发布于 2020-04-11 21:02

相关推荐

程序员花海:实习和校招简历正确格式应该是教育背景+实习+项目经历+个人评价 其中项目经历注意要体现业务 实习经历里面的业务更是要自圆其说 简历模板尽可能保持干净整洁 不要太花哨的
点赞 评论 收藏
分享
评论
点赞
1
分享

创作者周榜

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