Getting started
User guides
Administration guides
Reference guides
Resources
Updated Aug 12, 2022
Send us feedback
some
Returns true if at least one value of expr in a group is true.
expr
true
some(expr) [FILTER ( WHERE cond ) ]
expr: A BOOLEAN expression.
cond: An optional boolean expression filtering the rows used for aggregation.
cond
A BOOLEAN.
> SELECT some(col) FROM VALUES (true), (false), (false) AS tab(col); true > SELECT some(col) FROM VALUES (NULL), (true), (false) AS tab(col); true > SELECT some(col) FROM VALUES (false), (false), (NULL) AS tab(col); false
bool_and aggregate function
bool_or aggregate function
every aggregate function