标签:like info null https log mamicode ima 图片 cape

会发现结果是NULL 说明某一列中有NULL
发现commission_pct这一列中有NULL

IFNULL函数查询字段中是否为NULL

我们把IFNULL用到连接字段中,结果如下








另一种写法





或者 也可以使用 escape 转义


标签:like info null https log mamicode ima 图片 cape
原文地址:https://www.cnblogs.com/jgg54335/p/14861419.html