题解 | #某乎问答单日回答问题数大于等于3个的所有用户#

某乎问答单日回答问题数大于等于3个的所有用户

https://www.nowcoder.com/practice/821e5072663f485f8204cf03b89d322a

select
    answer_date,
    author_id,
    count(issue_id) answer_cnt
from
    answer_tb
where
    date_format (answer_date, '%Y-%m') = '2021-11'
group by
    answer_date,
    author_id
having
    answer_cnt >= 3
order by answer_date,author_id
;

全部评论

相关推荐

评论
点赞
收藏
分享

创作者周榜

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