Richard Broersma Jr <rabroersma@yahoo.com> writes:
> Can anyone explain why <> ANY() behaves that way it does?
Aside from the responses already given, I'm wondering whether you have
any NULL entries in Children.gender. NULL rows within a NOT IN
subselect tend to produce confusing results ...
regards, tom lane