Re: BUG #4422: select ... where ... NOT EXISTS / NOT IN

Поиск
Список
Период
Сортировка
Искать
От
hubert depesz lubaczewski
Тема
Re: BUG #4422: select ... where ... NOT EXISTS / NOT IN
Дата
Msg-id
20080917154902.GB22210@depesz.com
Ответ на
Список
Дерево обсуждения
BUG #4422: select ... where ... NOT EXISTS / NOT IN "vasile" <vasile@gmail.com>
Re: BUG #4422: select ... where ... NOT EXISTS / NOT IN hubert depesz lubaczewski <depesz@depesz.com>
On Wed, Sep 17, 2008 at 02:53:51PM +0000, vasile wrote:
> I have this 2 similar queries. 
> 
> Why the 1st query is returning 1000+ rows and the 2nd one no rows ? 
>   The col1 is not empty in both tables. 

there is no bug.
check this:

http://www.depesz.com/index.php/2008/08/13/nulls-vs-not-in/

Best regards,

depesz

-- 
Linkedin: http://www.linkedin.com/in/depesz  /  blog: http://www.depesz.com/
jid/gtalk: depesz@depesz.com / aim:depeszhdl / skype:depesz_hdl / gg:6749007
В списке pgsql-bugs по дате отправления
От: Heikki Linnakangas
Дата:
От: Tom Lane
Дата:
FAQ