AggregatePostgreSQL only
BOOL_AND
Returns true if a condition is true for all rows.
Syntax
BOOL_AND(<condition>)
EVERY(<condition>)
The “all of them?” aggregate function. Together with GROUP BY it answers that for each group: does everyone in the department have a bonus. It skips NULL. EVERY is the same thing under its standard SQL name. Its mirror function is BOOL_OR: “is there at least one?”.