You can update multiple columns with a single expression by doing something like this:
UPDATE table SET column1='', column2='', column3='' WHERE column1 IS NULL
HOWEVER thsi will only be updated based on the where clause.
For what you are trying to do, you will need separate instructions.
UPDATE table SET column1='' WHERE column1 IS NULL
UPDATE table SET column2='' WHERE column2 IS NULL
UPDATE table SET column3='' WHERE column3 IS NULL
EDIT Try the following:
UPDATE table SET column1= IfNull(column1,''), column2= IfNull(column2,'') , column3= IfNull(column3,'')
source
share