List:General Discussion« Previous MessageNext Message »
From:Gerald Clark Date:September 25 2001 1:56pm
Subject:Re: very strange query behavior
View as plain text  
select count(*) from members where country_id = 1 and read_array is NULL ;

Daren Cotter wrote:

> can anybody explain this to me?
> 
> mysql> select count(*) from members where country_id = 1 and read_array not
> like '%20270%';
> +----------+
> | count(*) |
> +----------+
> |    34884 |
> +----------+
> 
> mysql> select count(*) from members where country_id = 1 and read_array like
> '%20270%';
> +----------+
> | count(*) |
> +----------+
> |    13554 |
> +----------+
> 
> mysql> select count(*) from members where country_id = 1;
> +----------+
> | count(*) |
> +----------+
> |    63546 |
> +----------+
> 
> 34884 + 13554 <> 63546
> 
> This is a very important aspect of our business, can anyone offer any
> insight as to what may be wrong?
> 
> TIA,
> 
> 
> 
> 
> Sincerely,
> 
> Daren Cotter
> CEO, InboxDollars.com
> daren@stripped
> http://www.inboxdollars.com
> (507) 382-0435
> 
> 
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
> 
> To request this thread, e-mail <mysql-thread86266@stripped>
> To unsubscribe, e-mail
> <mysql-unsubscribe-gerald_clark=suppliersystems.com@stripped>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php


-- 
Gerald L. Clark
gerald_clark@stripped

Thread
very strange query behaviorDaren Cotter24 Sep
  • RE: very strange query behaviorBill Blowitz24 Sep
  • Re: very strange query behaviorGerald Clark25 Sep