题解 | #用户每月最后一周的练题数#

用户每月最后一周的练题数

https://www.nowcoder.com/practice/00fa10258481407b9a4b3f9a93703700

select device_id,date_format(event_date,'%Y年%m月') as ym,
count(*) as cnt
from question_practice_detail
where datediff(last_day(event_date),event_date)<=6
group by device_id, ym
order by device_id, ym

全部评论

相关推荐

zhch7:建议9✌️把学历加黑加粗,如果实在offer可能是觉得佬不会去
投了多少份简历才上岸
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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