在mysql中查询条件为null时,不能使用 = null, 需要使用 is null,或者条件为不是空时需要使用 is not null。在sql server 和oracle 中听说也是这样,真实的没去实践。
Logo

更多推荐