MySQL NOT IN subquery removing more lines that contained in the subquery
I'm having results I don't understand from a MySQL query that should be pretty simple. The goal I want to achieve is more complex, but I have reduced the problem to this: When I am using NOT IN subquery in…