On Wed, Mar 19, 2008 at 1:53 PM, David Giragosian <[EMAIL PROTECTED]> wrote:
> Doesn't the 1 in "Select count(1) from table" refer to the first
>  column in the table, like order by 1 asc?

    No, it evaluates to Boolean TRUE.  It's the same as the one (1) here:

    SELECT * FROM table WHERE 1;

-- 
</Daniel P. Brown>
Forensic Services, Senior Unix Engineer
1+ (570-) 362-0283

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to