SELECT brand, SUM(DATEDIFF(end_time, start_time) + 1) AS promotion_days FROM your_table GROUP BY brand;
点赞 评论

相关推荐

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