operator

ALL

True if every comparison is true, including an empty subquery; false if any is false, otherwise NULL if any 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 ALL (subquery)

Working Example

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