随笔分类 -  mysql

摘要:以case开头end结尾 1、case when 条件1 then 取值1 else 不满足条件的取值 end 2、case 字段 when 条件值 then 满足条件后的结果 else 不满足条件的结果 end 3、case when 条件表达式1 then 满足条件后的结果1 else 不满足条 阅读全文
posted @ 2019-05-31 18:04 苟住,别浪 阅读(10664) 评论(0) 推荐(1) 编辑