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

> 숫자 집합에 비트 단위 `XOR`를 적용합니다.

# groupBitXor

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

v1.1.0에 도입됨

숫자 series에 비트 단위 XOR을 적용합니다.

**구문**

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

**별칭**: `BIT_XOR`

**인수**

* `expr` — `(U)Int*` 타입의 표현식입니다. [`(U)Int*`](/ko/reference/data-types/int-uint)

**반환 값**

`(U)Int*` 타입의 값을 반환합니다. [`(U)Int*`](/ko/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);

-- 테스트 데이터:
-- 이진수     십진수
-- 00101100 = 44
-- 00011100 = 28
-- 00001101 = 13
-- 01010101 = 85

SELECT groupBitXor(num) FROM t;
```

```response title=Response theme={null}
-- 결과:
-- 이진수     십진수
-- 01101000 = 104

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