> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-mintlify-3a82795f.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> Aplica el operador `OR` bit a bit a una serie de números.

# groupBitOr

<div id="groupBitOr">
  ## groupBitOr
</div>

Introducido en: v1.1.0

Aplica OR bit a bit a una serie de números.

**Sintaxis**

```sql theme={null}
groupBitOr(expr)
```

**Alias**: `BIT_OR`

**Argumentos**

* `expr` — Expresión de tipo `(U)Int*`. [`(U)Int*`](/es/reference/data-types/int-uint)

**Valor devuelto**

Devuelve un valor de tipo `(U)Int*`. [`(U)Int*`](/es/reference/data-types/int-uint)

**Ejemplos**

**Ejemplo de OR bit a bit**

```sql title=Query theme={null}
CREATE TABLE t (num UInt32) ENGINE = Memory;
INSERT INTO t VALUES (44), (28), (13), (85);

-- Datos de prueba:
-- binario     decimal
-- 00101100 = 44
-- 00011100 = 28
-- 00001101 = 13
-- 01010101 = 85

SELECT groupBitOr(num) FROM t;
```

```response title=Response theme={null}
-- Resultado:
-- binario    decimal
-- 01111101 = 125

┌─groupBitOr(num)─┐
│             125 │
└─────────────────┘
```
