Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] not in 子查询的bug #45607

Open
2 of 3 tasks
prosejazz opened this issue Dec 18, 2024 · 0 comments
Open
2 of 3 tasks

[Bug] not in 子查询的bug #45607

prosejazz opened this issue Dec 18, 2024 · 0 comments

Comments

@prosejazz
Copy link

Search before asking

  • I had searched in the issues and found no similar issues.

Version

3.0

What's Wrong?

not in 子查询结果非预期
select * from subjects where id not in (
select subjectsId from deliver
)
查询结果为空,原因select subjectsId from deliver子查询中的结果有null
修改为
select * from subjects where id not in (
select subjectsId from deliver where subjectsId is not null
)
可达到预期结果

What You Expected?

同上

How to Reproduce?

No response

Anything Else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant