mysql if 函数

来源:互联网 发布:win7 禁止卸载软件 编辑:程序博客网 时间:2024/05/29 19:41

SELECT  (case when (StudentInfo.Years = 2015) then "ssss" else "weizi" end) FROM StudentInfo WHERE StudentInfoId ='76432'


(case  when (true) then "真的" else "假的" end)

0 0
原创粉丝点击