null在oracle中代表未知,表示可能有,也可能没有。 select * from emp where deptno in(10,20,null); select * from emp where deptno in(10,20);运行结果: 运行结果相同、 select * from emp where deptno not in(10,20); select * from emp where deptno not in(10,20,null);
转载请注明原文地址: https://ju.6miu.com/read-17440.html