Use IFNULL: IFNULL(expr1, 0). From the documentation: If expr1 is not NULL, IFNULL() returns expr1; otherwise it returns expr2.
確定! 回上一頁