题解 | 网易云音乐推荐(网易校招笔试真题)

with T as(select distinct(music_id) from music_likes where user_id=1)
select music_name from music where id in 
(select distinct(music_likes.music_id) as id from follow,music_likes where follow.follower_id=music_likes.user_id and music_likes.music_id not in(select * from T) and follow.user_id=1) order by id

全部评论

相关推荐

中沛光电 储备干部 2.8-3.5k,底薪3.5-4k
点赞 评论 收藏
分享
不愿透露姓名的神秘牛友
02-03 16:28
已编辑
美团 后端开发 300+1500房补 硕士海归
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客企业服务