Re: how does NOT work?

From: Jean-Luc Lachance <jllachan(at)nsd(dot)ca>
To: tony <tony(at)animaproductions(dot)com>
Cc: postgres list <pgsql-general(at)postgresql(dot)org>
Subject: Re: how does NOT work?
Date: 2002-04-24 15:27:24
Message-ID: 3CC6CEDC.99BFF31B@nsd.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Benjamin Franks 2002-04-24 15:30:28 group by with multiple selects having different where conditions
Previous Message ARP 2002-04-24 15:25:33 Re: Bug or syntax error in my update query with a FROM statement ?