Replace 0 with null in MySQL?您可以使用MySQL中的NULLIF()将0替换为NULL。 语法如下: [cc]SELECT *,NULLIF(yourColumnName,0) as anyVariableName ...
確定! 回上一頁