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

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

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

select
    case when ut.author_level in (1,2) then '1-2级'
        when ut.author_level in (3,4) then '3-4级'
        else '5-6级' end as level_cut,
    count(issue_id) as num
from
    answer_tb at
left join 
    author_tb ut on at.author_id = ut.author_id
where 
    at.char_len >= 100
group by 
    1 
order by 
    2 desc

全部评论

相关推荐

10-13 13:49
南京大学 财务
饿魔:笑死我了,你简直是个天才
点赞 评论 收藏
分享
09-22 15:45
门头沟学院 Java
谁给娃offer我给...:我也遇到了,我说只要我通过面试我就去,实际上我根本就不会去😁
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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