operator

OR

True if either operand is true, even if the other is unknown. Example target: PostgreSQL 17 and SQLite (local fixture tested).

Formal Syntax & Structure

sql syntaxsql
a OR b

Working Example

Example Snippetsql
SELECT (1=1) OR NULL;
SQL Reference