Re: how does NOT work? - Mailing list pgsql-general

From tony
Subject Re: how does NOT work?
Date
Msg-id 1019662239.22848.39.camel@vaio
Whole thread Raw
In response to Re: how does NOT work?  ("Nigel J. Andrews" <nandrews@investsystems.co.uk>)
List pgsql-general
On Wed, 2002-04-24 at 17:22, Nigel J. Andrews wrote:

> > 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?
>
> NULLs?

the cells are either empty or contain a word that doesn't start with "a"
or a -

If I do it with two letters it works just fine so I guess I'll just put
another "a" in front

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


pgsql-general by date:

Previous
From: "ARP"
Date:
Subject: Re: Bug or syntax error in my update query with a FROM statement ?
Next
From: "ARP"
Date:
Subject: Re: how does NOT work?