operator

>

Tests strict greater-than. 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 3 > 2;
SQL Reference