题解 | 统计快递从创建订单到发出间隔时长
统计快递从创建订单到发出间隔时长
https://www.nowcoder.com/practice/be3e56c950724b27aa79b79309147443
select round(avg(TIMESTAMPDIFF(minute,a.create_time,b.out_time)/60),3) as time from express_tb as a join exp_action_tb as b on a.exp_number=b.exp_number;
主要是考察TIMESTAMPDIFF这一个函数的用法。

