Quote:
Originally Posted by Quis
Thanks for your answers
COUNT uses field name as parameter, so if you COUNT(*) you counting by all fields - I think it's a bad habit
COUNT(NULL), or COUNT(0) return just empty rows
|
It doesn't matter which on you use, but i prefer the COUNT(*) one, since NULL looks weird in SELECT.