Jak-S
07-21-2006, 11:35 AM
The MySQL documentation says:
COUNT(DISTINCT expr,[expr...])
Returns a count of the number of different non-NULL values.
How do i get it to INCLUDE null values? I am using COUNT with the DISTINCT bit as well, and i want the NULL rows to count as one as well.
Thanks,
Jack
COUNT(DISTINCT expr,[expr...])
Returns a count of the number of different non-NULL values.
How do i get it to INCLUDE null values? I am using COUNT with the DISTINCT bit as well, and i want the NULL rows to count as one as well.
Thanks,
Jack