A comparison such as qty greater than zero can be TRUE, FALSE, or UNKNOWN.
qty greater than zero
Read comparison results
The comparison is TRUE for 2 rows and UNKNOWN for 1 row.
TRUE rows=2
WHERE-filter examples are tiny finite-table transforms with SQL-style TRUE/FALSE/UNKNOWN logic; SQL dialect completeness, type coercion, optimizer behavior, indexing, and product claims are out of scope.
NULL makes UNKNOWN
The row with NULL qty cannot answer qty greater than zero as TRUE or FALSE.
NULL comparison=UNKNOWN
Summary
A WHERE comparison keeps only rows that evaluate to TRUE.