这个题怎么做呀,求大佬解答

全部评论
select brand ,least(a.time_all,a.time_one) from (select brand ,min(start_time) as start_min ,max(end_time) as end_min ,max(end_time)-min(start_time)+1 as time_one ,sum(end_time-start_time+1) as time_all from t group by brand ) a
点赞 回复 分享
发布于 2024-01-08 13:53 北京

相关推荐

可以不说话:笔试a了3道半,今天说是挂了😭😭
投递汇丰科技等公司8个岗位
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客企业服务