I have an problem understanding a simple query:
For example I have the following:
select count(*) from foo;
gives me 1000
select count(*) from foo where bar = 'Mr Spock';
gives me 5
select count(*) from foo where NOT bar = 'Mr Spock';
gives me 857
Why I'm not getting 955 for the last query ?
Any idea ?
pgsql-sql by date
|Next:||From: Paul Dam||Date: 2008-11-28 14:10:17|
|Subject: Re: wired behaviour|
|Previous:||From: John Dizaro||Date: 2008-11-28 10:37:27|
|Subject: Re: UPDATE and DELEte with a lot of register is to slow...|