摘要: 原表是个员工档案,共583人,但case when结合group by用时,写法不同,其出来的结果也不同 例1: select distinct a.Branch,case when kultur = '硕士' then sum(num) else '0' end as 研究生学历,case whe 阅读全文
posted @ 2018-06-19 14:50 数据分析笔记(自用) 阅读(10717) 评论(0) 推荐(1) 编辑