题解 | #广告点击的高峰期#

广告点击的高峰期

https://www.nowcoder.com/practice/6756d65784f9413b8505c1d0c6754b3a

select new.time click_hour, new.count click_cnt
from(
select date_format(click_time, '%H') time, row_number()over(order by sum(trace_id) desc) as rk, count(trace_id) count
from user_ad_click_time
group by date_format(click_time, '%H') 
) new
where new.rk = 1

全部评论

相关推荐

星辰再现:裁员给校招生腾地方
点赞 评论 收藏
分享
06-28 22:48
已编辑
广东金融学院 Java
小浪_Coding:学院本+这俩项目不是buff叠满了嘛
点赞 评论 收藏
分享
07-11 10:56
门头沟学院 Java
码客明:大胆的说自己能实习6个月就行
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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