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

select
    round(
        avg(timestampdiff (minute, create_time, out_time)) / 60,
        3
    ) as time
from
    express_tb a,
    exp_action_tb b
where
    a.exp_number = b.exp_number

全部评论

相关推荐

用微笑面对困难:你出于礼貌叫了人一声大姐,大姐很欣慰,她真把你当老弟
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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