mysql query for specific values are given for the null and processing an empty string

SELECT if (IFNULL (filedName, "specify the string") = "", "specify a string", filedName) 'renamed character name' FROM tableName;

Guess you like

Origin www.cnblogs.com/dhrwawa/p/11333095.html