sql中case then用法

数据库绑定查询语句上该

select case sex when 0 then'男'else '女'end sex from TablSex”
原文地址:https://www.cnblogs.com/xiaofengfeng/p/2013586.html