db_mysql_sum出的值为空值变为0 sqlserver 用 isnull (a,0) 的函数 oracle 用 nvl( a, 0) 的函数 通用的是case when a is null then 0 else a end的写法