我做啦~我只会这一道!!! 不过没有截图。。大概回忆了一下 如果有大佬发现不对欢迎指教! 大概是 select id, sum(case when category='hotel' then 1 else 0 end) as hotel, sum(case when category=flight' then 1 else 0 end) as flight, avg(amount) from detail where substr(orderdate,1,4)='2019' group by id order by id
2 29

相关推荐

牛客100866号技...:把电科加粗,把电科加粗,把电科加粗,两个吊车尾的项目合并成一个,再加一个管理系统。电科✌🏻在成都面中厂手拿把掐
点赞 评论 收藏
分享
牛客网
牛客网在线编程
牛客网题解
牛客企业服务