标签:rom ssi last strong employee 员工 有奖 comm 安全
#案例:查询没有奖金的员工名和奖金率SELECT
last_name,
commission_pct
FROM
employees
WHERE
commission_pct IS NULL;
#案例:查询有奖金
SELECT
last_name,
commission_pct
FROM
employees
WHERE
commission_pct IS NOT NULL;
安全等于: <=>,也可以判断null值和普通类型的值
SELECT
last_name,
commission_pct
FROM
employees
WHERE
commission_pct <=> NULL;
标签:rom ssi last strong employee 员工 有奖 comm 安全
原文地址:https://blog.51cto.com/14437184/2435252