Mysql命令-以NULL做where条件过滤时应该写 IS NULL;时间:2025-01-04 16:04:02以NULL做where条件过滤时应该写 IS NULL;SELECT * FROM pet WHERE death IS NULL; SELECT * FROM pet WHERE death IS NOT NULL; 注意别加引号。