Was the Visit Instant, or Is Its Duration Missing?

Keep an unknown measurement distinct from zero, and follow SQL’s true, false and unknown conditions.

14 sections · 4 questions · 1 coding challenge

1 / 14

Database Implementations Had to Agree About Missing Values

BOTIE

An absent value complicates ordinary comparisons: we cannot determine whether an unknown duration equals ten. SQLite’s NULL documentation describes compatibility tests performed in 2002 to compare how other SQL engines handled these cases.

The resulting behaviours include distinctions between equality predicates, grouping and duplicate removal. We study those operations explicitly instead of treating NULL as a special number.

Sources for this history