SUM adds present integer cells and skips NULL cells.
SUM skips NULL
Read the sum
The recomputed sum is 7 after skipping 4 NULL cells.
SUM=7
Aggregate NULL examples are tiny finite table transforms; SQL dialect completeness, optimizer behavior, indexing, product behavior, and performance claims are out of scope.
Only integers add
The engine rejects a non-NULL string in a SUM column.
integer cells only
Summary
NULL cells are skipped; present integer cells are added.