题解 | 支付间隔平均值

支付间隔平均值

https://www.nowcoder.com/practice/847431ad931e45348eb1ab5657144c28

select 
    cast(round(avg(abs(timestampdiff(second,o.time,s.time)) ),0) as unsigned) as gap
from order_log o
join select_log s using (order_id)

全部评论

相关推荐

累死的一条狗:***一人顶10人那你给我发10个人的工资总和吗
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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