Description
bool_and/booland_statefunc(expression) -- true if all input values are true, otherwise false
bool_or/boolor_statefunc(expression) -- true if at least one input value is true, otherwise false
every(expression) -- equivalent to bool_and
More details:
https://www.postgresql.org/docs/9.3/functions-aggregate.html
Presto and Vertica also support this feature:
https://prestodb.github.io/docs/current/functions/aggregate.html
https://www.vertica.com/docs/9.2.x/HTML/Content/Authoring/SQLReferenceManual/Functions/Aggregate/AggregateFunctions.htm?tocpath=SQL%20Reference%20Manual%7CSQL%20Functions%7CAggregate%20Functions%7C_____0
Attachments
Issue Links
- links to