在编写SQL语句中,使用in()的结果继续not in()之后显示的数据不准确。

select * from (select * from 表1 a where a.W in(select W from 表2)) b where b.W not in(select W from 表3)

使用过程中,表1满足表2条件但不满足表3条件的数据原本有很多,但最后一条也没有显示

你好
请提供一下sr版本 以及最好可以提供简单的数据用例

看看字段是不是int bigint类型,sr是有这个问题,强一致,改为其他语句