题解 | 统计快递从创建订单到发出间隔时长
统计快递从创建订单到发出间隔时长
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