mysql 中 isnull 和 ifnull 判断字段是否为null

今天用Incorrect parameter count in the call to native function 'isnull' Errornumber:1582 )   这句话也就说,当数据库的字段为空的时候,你再用  String sql="select isnull(sum(shuliang),0) from t_rukuMingxi where goods_id="+goods_i
相关文章
相关标签/搜索