operator

ANY

True if at least one comparison is true; false for an empty subquery; otherwise NULL if a comparison is unknown. Example target: PostgreSQL 17. Use only the isolated starter dataset; setup and expected results are in the batch evidence.

Formal Syntax & Structure

sql syntaxsql
expression operator ANY (subquery)

Working Example

Example Snippetsql
SELECT 100 < ANY (SELECT amount FROM orders);
SQL Reference