题解 | 计算用户8月每天的练题数量
计算用户8月每天的练题数量
https://www.nowcoder.com/practice/847373e2fe8d47b4a2c294bdb5bda8b6
- 每天:按天分组
group by date - 用year/month函数的
year(date)=2021 and month(date)=8,比如用date_format函数的date_format(date, "%Y-%m")="202108"
计算用户8月每天的练题数量
https://www.nowcoder.com/practice/847373e2fe8d47b4a2c294bdb5bda8b6
group by dateyear(date)=2021 and month(date)=8,比如用date_format函数的date_format(date, "%Y-%m")="202108"相关推荐