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

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

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

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

全部评论

相关推荐

本菜鸟哪见过这种场面一群保研佬
我已成为0offer的糕手:说明你太有人脉了
点赞 评论 收藏
分享
09-29 13:47
门头沟学院 Java
#腾讯 #阿里 #字节
投递小米集团等公司10个岗位 >
点赞 评论 收藏
分享
点赞 收藏 评论
分享
牛客网
牛客企业服务