Re: how does NOT work?

Поиск
Список
Период
Сортировка
От Jean-Luc Lachance
Тема Re: how does NOT work?
Дата
Msg-id 3CC6CEDC.99BFF31B@nsd.ca
обсуждение исходный текст
Ответ на how does NOT work?  (tony <tony@animaproductions.com>)
Ответы Re: how does NOT work?  (tony <tony@animaproductions.com>)
Список pgsql-general
Tony,
 you forgot the NULL entries.

Add the result of:
select count(*) from individu where type2 is null

JLL

tony wrote:
>
> Stange one
>
> select count(*) from individu
>
> count
> 18417
>
> select count(*) from individu where type2 like 'a%'
>
> count
> 12619
>
> select count(*) from individu where type2 not like 'a%'
>
> count
> 81
>
> Clues?
>
> Cheers
>
> Tony Grant
>
> --
> RedHat Linux on Sony Vaio C1XD/S
> http://www.animaproductions.com/linux2.html
> Macromedia UltraDev with PostgreSQL
> http://www.animaproductions.com/ultra.html
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org

В списке pgsql-general по дате отправления:

Предыдущее
От: "Nigel J. Andrews"
Дата:
Сообщение: Re: how does NOT work?
Следующее
От: Benjamin Franks
Дата:
Сообщение: group by with multiple selects having different where conditions