摘要: 方法一: select IF(ISNULL(columnName) OR columnName='',0,columnName) from tableName; 方法二: select case when ISNULL(columnName) OR columnName='' then 0 else 阅读全文
posted @ 2020-01-10 16:53 bud 阅读(1099) 评论(0) 推荐(0) 编辑