mysql 语句中的简单if判断
select *,if(sva=1,"男","女") as ssva from taname where sva<>""
posted on 2013-10-11 19:38 passer1991 阅读(226) 评论(0) 编辑 收藏 举报
select *,if(sva=1,"男","女") as ssva from taname where sva<>""
posted on 2013-10-11 19:38 passer1991 阅读(226) 评论(0) 编辑 收藏 举报