PostgreSQLAggregate FunctionsBIT_OR
BIT_AND

BIT_ORAggregate Functions

STDDEV_POP

Returns the bitwise OR aggregate.

Syntax

BIT_OR(expr)

Example

Enter values below to update the example in real time.

flags
any_flag
user_permissions
SELECT BIT_OR(flags) AS any_flag FROM user_permissions;