Aggregates
Aggregate
countif()
Counts the total number of TRUE values for a boolean column
Alias of count_if()
Arguments & returns
countif(arg)
Aggregate
| Overload link | arg |
Returns |
|---|---|---|
| #01 | BOOLEAN |
HUGEINT |
Example
Haybarn WASM 1.5.5-rc3 · In your browser
Guide example · Run to view results.
Catalog examples
SELECT
countif (A);