我做啦~我只会这一道!!! 不过没有截图。。大概回忆了一下 如果有大佬发现不对欢迎指教! 大概是 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

相关推荐

05-23 20:31
已编辑
武汉大学 Java
内向的柠檬精在研究求职打法:注意把武大标粗标大 本地你俩不是乱杀
点赞 评论 收藏
分享
牛客网
牛客网在线编程
牛客网题解
牛客企业服务