> I have a Where clause like:
>          select count(*) from table where ....  LIMIT 100

> Unfortunately the Count(*) ignores the LIMIT clause entirely. Why?

The answer is: Because the SQL query with COUNT(*) only returns one row...

---------------------------------------------------------------------
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 <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to