BOOLAND
This section contains reference documentation for the BOOLAND function.
Last updated
Was this helpful?
This section contains reference documentation for the BOOLAND function.
Returns the logical AND of all boolean values in a group. Returns true only if every value in the group is true; returns false if any value is false. When no records are selected, the default value is true (the identity element for AND).
BOOLAND(colName)
select BOOLAND(isActive) AS value
from myTablefalse
select city, BOOLAND(isActive) AS allActive
from myTable
GROUP BY citySan Francisco
true
New York
false
Last updated
Was this helpful?
Was this helpful?

