题解 | 统计快递从创建订单到发出间隔时长
统计快递从创建订单到发出间隔时长
https://www.nowcoder.com/practice/be3e56c950724b27aa79b79309147443
SELECT round(avg(timestampdiff(minute,b.create_time,a.out_time)/60),3) AS time FROM exp_action_tb AS a LEFT JOIN express_tb AS b ON a.exp_number=b.exp_number;