题解 | #某乎问答高质量的回答中用户属于各级别的数量#

某乎问答高质量的回答中用户属于各级别的数量

https://www.nowcoder.com/practice/69c85db3e59245efb7cee51996fe2273

select
	level_cut,
    count(*) as num
from (
	select
		*,
		case 
			when author_level between 1 and 2 then '1-2级'
			when author_level between 3 and 4 then '3-4级'
			when author_level between 5 and 6 then '5-6级'
			else null
		end as level_cut
	from answer_tb
	join author_tb
		using (author_id)
) t
where t.char_len >= 100
group by level_cut
order by num desc

全部评论

相关推荐

昨天 23:23
复旦大学 Java
点赞 评论 收藏
分享
远方的梦想:学院本主要是约不到面试,佬看你经历很励志,技术肯定也很强,但是你要做好简历筛选,面试结束泡池子的心理准备,而且你要抓紧来个大厂实习争取转正,真的太难了这个赛道
秋招吐槽大会
点赞 评论 收藏
分享
_mos_:要不是看评论区我都不知道你要找的是数分
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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