> ## 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.

> يطبّق `XOR` على مستوى البتات على مجموعة من الأرقام.

# groupBitXor

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

أُضيفت في: v1.1.0

تُطبِّق عملية XOR على مستوى البتات على مجموعة من الأرقام.

**الصياغة**

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

**الأسماء المستعارة**: `BIT_XOR`

**الوسائط**

* `expr` — تعبير من النوع `(U)Int*`. [`(U)Int*`](/ar/reference/data-types/int-uint)

**القيمة المُعادة**

يعيد قيمة من النوع `(U)Int*`. [`(U)Int*`](/ar/reference/data-types/int-uint)

**أمثلة**

**مثال على عملية XOR على مستوى البتات**

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

-- Test data:
-- binary     decimal
-- 00101100 = 44
-- 00011100 = 28
-- 00001101 = 13
-- 01010101 = 85

SELECT groupBitXor(num) FROM t;
```

```response title=Response theme={null}
-- Result:
-- binary     decimal
-- 01101000 = 104

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