Something is fishy in my selection
| From: | Mathieu Dumoulin | Date: | Thu, 06 Feb 2003 16:51:28 +0000 |
| Subject: | Something is fishy in my selection | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-25487@lists.php.net to get a copy of this message | ||
Hi there, want to say this right off the start the calculations here are
used with the totals of the results and not the range so dont go telling me
that i might have used a 0 based index, NO...
I have 6294 lines in my table
i query with a IN (...) statement and i get 6286 lines out of my DB
i query again using the same list but with NOT IN (...) and i get 7 lines
Theoricaly, i should get all lines thru this way of doing right? Well count:
6286+7 = 6293
Where is my last line??? Could this be a bug in the IN, NOT IN statements of
mysql? or is this part of a problem related to phpMyAdmin? I will try to run
these queries right off a web page using the direct api to the mysql
database to see if it's in phpMyAdmin or mysql, till then i hope someone can
find something wrong in my doing, it's only logical that i should get all
lines!!!
Mathieu