operator

IS NOT DISTINCT FROM

Null-safe equality: two nulls compare as not distinct. Example target: PostgreSQL 17 and SQLite (local fixture tested).

Formal Syntax & Structure

sql syntaxsql
a IS NOT DISTINCT FROM b

Working Example

Example Snippetsql
SELECT NULL IS NOT DISTINCT FROM NULL;
SQL Reference