select *,if(sva=1,"男","女") as ssva from taname where sva<>""
mysql 语句中的简单if判断
原创
©著作权归作者所有:来自51CTO博客作者咔咔是咖咖的原创作品,请联系作者获取转载授权,否则将追究法律责任
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
mysql语句中if语句
sql语句中if语句。每个班级有多少人及格,有多少人
mysql if语句 数据