文章目录 知识储备:例子: 知识储备: isnull()函数: ------------ISNULL函数接受一个参数,并测试该参数是否为NULL。如果参数为NULL,则ISNULL函数返回1,否则返回0。 例子: select c.`name` FROM customers c , salary s where c.id = s.id and (ISNULL(c.mobile) or ISNULL(s.yearbonus))