摘要: 1. 利用max(case when then) 聚合函数,max,取最大值 (case when course = '语文' then score else 0 end) 判断 as 语文 别名作为列名 2.max(when course='语文' then score else 0 end) m 阅读全文
posted @ 2021-03-11 21:31 littlevigra 阅读(2824) 评论(6) 推荐(0) 编辑