Query with not in subquery

In this case you should use SQL expression:

1 Like