题解 | #今天的刷题量(一)#

今天的刷题量(一)

https://www.nowcoder.com/practice/e18f56796ae94c3d885e61c8d57a950e



## 直接用current_date()代替create_time即可解决,heihei


select
a.name
,a.cnt
from(
select
b.name
,b.id
,count(*) as cnt
from submission a
join subject b
on a.subject_id=b.id
where a.create_time=current_date()
group by b.id,b.name
) a
order by a.cnt desc,a.id
;



全部评论

相关推荐

不愿透露姓名的神秘牛友
06-19 14:35
点赞 评论 收藏
分享
05-23 20:31
已编辑
武汉大学 Java
内向的柠檬精在研究求职打法:注意把武大标粗标大 本地你俩不是乱杀
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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