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

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

# groupBitOr

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

도입 버전: v1.1.0

일련의 숫자에 비트 단위 OR 연산을 적용합니다.

**구문**

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

**별칭**: `BIT_OR`

**인수**

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

**반환 값**

`(U)Int*` 타입의 값을 반환합니다. [`(U)Int*`](/ko/reference/data-types/int-uint)

**예시**

**비트 단위 OR 예시**

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

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

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