"It should be noted that except for count, these functions return a null value when no rows are selected. In particular, sum of no rows returns null, not zero as one might expect. The function coalesce may be used to substitute zero for null when necessary".
In reply to Re: DBI and selecting aggregate columns with no results
by RazorbladeBidet
in thread DBI and selecting aggregate columns with no results
by thor
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |