题解 | #计算用户8月每天的练题数量#

计算用户8月每天的练题数量

https://www.nowcoder.com/practice/847373e2fe8d47b4a2c294bdb5bda8b6

select day(date) as day,
       count(question_id) as question_cnt
from question_practice_detail t1
where t1.date like '2021-08%'
group by day
select day(date) as day,
       count(question_id) as question_cnt
from question_practice_detail 
where date_format(date,'%Y-%m') = '2021-08'
group by day

全部评论

相关推荐

05-23 20:31
已编辑
武汉大学 Java
内向的柠檬精在研究求职打法:注意把武大标粗标大 本地你俩不是乱杀
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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