会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
I love myself and love all love self's people
}
BigData权威指南
博客园
首页
新随笔
联系
订阅
管理
2019年9月29日
SQL,case ziduan when ziduan_value then 'result'
摘要: case a.sex when 0 then '女' when 1 then '男' else '其他' end as sex 当a表的性别字段的value为0时将查询的value转换成 '女',当字段value为1的时候转换为 '男',如果value不为0或者1那则转换为 '其它' end结束,并
阅读全文
posted @ 2019-09-29 09:38 强行快乐~
阅读(128)
评论(0)
推荐(0)
编辑
公告
联系qq:1035133465