operator

NOT

Negates true or false; unknown remains unknown. Example target: PostgreSQL 17 and SQLite (local fixture tested).

Formal Syntax & Structure

sql syntaxsql
NOT condition

Working Example

Example Snippetsql
SELECT NOT NULL;
SQL Reference