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

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

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

select
  substr(date, 9, 2) as day,
  count(1) as question_cnt
from
  question_practice_detail
where
  substr(date, 1, 7) = '2021-08'
group by
  substr(date, 9, 2)
全部评论

相关推荐

我即大橘:耐泡王
点赞 评论 收藏
分享
点赞 收藏 评论
分享
牛客网
牛客企业服务