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 bWorking Example
Example Snippetsql
SELECT (1=1) OR NULL;True if either operand is true, even if the other is unknown. Example target: PostgreSQL 17 and SQLite (local fixture tested).
a OR bSELECT (1=1) OR NULL;