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

> Aplica `XOR` bit a bit a una serie de números.

# groupBitXor

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

Introducido en: v1.1.0

Aplica una operación XOR bit a bit a una serie de números.

**Sintaxis**

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

**Alias**: `BIT_XOR`

**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 XOR a nivel de bits**

```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 groupBitXor(num) FROM t;
```

```response title=Response theme={null}
-- Resultado:
-- binario    decimal
-- 01101000 = 104

┌─groupBitXor(num)─┐
│              104 │
└──────────────────┘
```
