题解 | 统计快递从创建订单到发出间隔时长

统计快递从创建订单到发出间隔时长

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

SELECT ROUND(AVG(TIMESTAMPDIFF(MINUTE, create_time, out_time)/60),3) AS time
FROM express_tb e
LEFT JOIN exp_action_tb a ON e.exp_number = a.exp_number

全部评论

相关推荐

评论
点赞
收藏
分享

创作者周榜

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