利用case在select语句里写条件判断

来源:互联网 发布:2017欧洲难民现状知乎 编辑:程序博客网 时间:2024/05/22 09:32
select a,b,(case when a+b=c then '是' else '否' end) c from table
原创粉丝点击