select ISNULL(sum(字段),0) from tableName;