MySQL IFNULL函数

IFNULL ( exp1, exp 2)

如果exp1为空,返回exp2,exp1不为空则返回exp1。

原文地址:https://www.cnblogs.com/HadesBlog/p/13681107.html