operator

=

Tests equality. Ordinary comparisons with NULL produce unknown. Example target: PostgreSQL 17 and SQLite (local fixture tested).

Formal Syntax & Structure

sql syntaxsql
a = b

Working Example

Example Snippetsql
SELECT 2 = 2;
SQL Reference