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

select 
	st.name,
	count(sn.create_time) cnt 
from submission sn join subject st 
on sn.subject_id = st.id
where create_time = curdate()
group by sn.subject_id,st.name
order by cnt desc,sn.subject_id ASC;

全部评论

相关推荐

评论
点赞
收藏
分享

创作者周榜

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