IFNULL(expr1,expr2)
当expr1不为空返回expr1,否则返回exp2。
例如:IFNULL(score,0)如果score不为空返回score,否则返回0。
Mysql sql函数IFNULL
猜你喜欢
转载自blog.csdn.net/weixin_40575457/article/details/89178051
今日推荐
周排行