The MySQL Equivalant of SQL Server’s ISNULL Function
It’s called IFNULL and it works like this:
IFNULL(expr1,expr2)
If expr1 is not NULL, IFNULL() returns expr1; otherwise it returns expr2. IFNULL() returns a numeric or string value, depending on the context in which it is used.
My search terms:
- mysql null into blank
- mysql null into blank function