题解 | 统计快递运输时长

统计快递运输时长

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

select 
t1.exp_type
,round(avg(timestampdiff(minute,t2.out_time,t2.in_time)/60),1) as time
from express_tb t1
left join exp_action_tb t2
on t1.exp_number = t2.exp_number
group by t1.exp_type
order by time asc 

全部评论

相关推荐

03-11 23:33
已编辑
曲阜师范大学 后端工程师
牛客68808588...:果真开发过12306购票系统吗,这不是一眼就被看穿了
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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