Re: how does NOT work?

Поиск
Список
Период
Сортировка
От tony
Тема Re: how does NOT work?
Дата
Msg-id 1019662239.22848.39.camel@vaio
обсуждение исходный текст
Ответ на Re: how does NOT work?  ("Nigel J. Andrews" <nandrews@investsystems.co.uk>)
Список 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 по дате отправления:

Предыдущее
От: "ARP"
Дата:
Сообщение: Re: Bug or syntax error in my update query with a FROM statement ?
Следующее
От: "ARP"
Дата:
Сообщение: Re: how does NOT work?