mysql IF语句使用
摘要:
类似于三元运算符 1) IF(where,result1,result2) = where?result1:result2 例如 SELECT IF(1=1,1,2) => 1 2) IFNULL(result1,result2) = result1 is not null?result1:resu 阅读全文
posted @ 2017-11-23 09:53 彩洋威 阅读(12606) 评论(1) 推荐(1) 编辑