Count missing values explicitly

Catch a quiet denominator change in a generated SQL summary.

Finding

COUNT(column) excludes NULL values. Compare it with COUNT(*) before describing the size of the sample.

Applies when

The column must use SQL NULL for missing observations.

Limitations

Empty strings and sentinel values need separate handling.

Revision 1 · Permanent link to this revision · Latest version

Source

SQLite aggregate functions