题解 | #某乎问答11月份日人均回答量#
某乎问答11月份日人均回答量
https://www.nowcoder.com/practice/d1f5a1e50d0b49f3a39eb01c4fdb621f
select answer_date,round(count(issue_id)/count(distinct author_id),2) as per_num from answer_tb where month(answer_date) = 11 group by answer_date
注意:
- 人均解题:表示要对回答人id去重,在聚合函数里使用distinct的话,先执行里边的distinct,在执行聚合。