Except if "id" is indexed as unique (such as a primary key), in which case COUNT(id) should be slightly faster than COUNT(*). At least in theory.
Sorry, but that is wrong on three counts (no pun intended.)
Logically, nothing can be faster than COUNT(*) (or COUNT(1), etc...).
In reply to Re^3: Use of uninitialized value in lc
by chacham
in thread Use of uninitialized value in lc
by Alice Wonder
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |