摘要: 数据库中case when condition then else end的理解 数据库中根据不同的条件求数量或者是总数 when 表示条件,then value end:表示符合条件则在对应赋值为value count 计算所有有值的情况,会自动滤过null值 select (case colum 阅读全文
posted @ 2019-09-22 14:40 Myuniverse 阅读(447) 评论(0) 推荐(0) 编辑