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

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

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

select 
    substring(date,9,2) as day,
    count(*) as question_cnt
from question_practice_detail
where date>="2021-08-01" and date<="2021-08-31"
group by date

全部评论

相关推荐

评论
1
收藏
分享

创作者周榜

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