- Supports the non-standard spaceship operator instead:
<=> - Supports the non-standard binary
isoperator instead - Not for row-values
The not-equals comparison (<>) returns unknown if one of the compared values is the null value. Is distinct from is similar to <> except that it never returns unknown. Instead it returns true if only one argument is null or false if both arguments are null.
SELECT …
FROM …
WHERE c1 IS DISTINCT FROM c2Related
Negation:
IS NOT DISTINCT FROM(null-safe equals comparison)Tutorials:
Normative References
Is distinct from is defined in ISO/IEC 9075-2:2023 as the optional feature T151, “DISTINCT predicate”.

