在Oracle查詢中:
select * from tabA a where a.id !='x';
其實是等價於:
select * from tabA a where a.id !='x' and a.id is not null;
非常奇葩的問題。
在Oracle查詢中:
select * from tabA a where a.id !='x';
其實是等價於:
select * from tabA a where a.id !='x' and a.id is not null;