MySql 如果字段为NULL则返回0

来源:互联网 发布:python basehttpServer 编辑:程序博客网 时间:2024/05/17 02:50
Select   IF(AVG(fld) IS NULL, 0.00, fld) as fld  From  xxx
0 0