No. The SUM function, as well as all other aggregate functions,
includes all non-NULL values, and zero is non-NULL.
NULLs are ignored, but NULLs are not the same as zeroes.
But when you stop and think about it, what would the difference
to the final answer be if zeroes were excluded, as compared to included?
Would the answer be any different?
Search and Browse the Expert Answer Center Search and browse more than 25,000 question and
answer pairs from more than 250 TechTarget industry experts.
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.