mysql三元表达式

case when 1<2 then 'yes' else 'no' end

相当于你的三元运算符 1<2? 'yes':'no'

posted @ 2020-09-27 14:15  SweetBaby。  阅读(4648)  评论(0编辑  收藏  举报