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

> إرجاع تقاطع المصفوفات المحددة (إرجاع جميع عناصر المصفوفات الموجودة في كل المصفوفات المحددة).

# groupArrayIntersect

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

قُدِّمت في: v24.2.0

ترجع تقاطع المصفوفات المحددة (أي جميع عناصر المصفوفات المشتركة بين جميع المصفوفات المحددة).

**الصيغة**

```sql theme={null}
groupArrayIntersect(x)
```

**الوسيطات**

* `x` — وسيطة (اسم العمود أو تعبير). [`Any`](/ar/reference/data-types/index)

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

تعيد مصفوفةً تحتوي على العناصر الموجودة في جميع المصفوفات. [`Array`](/ar/reference/data-types/array)

**أمثلة**

**مثال على الاستخدام**

```sql title=Query theme={null}
-- Create table with Memory engine
CREATE TABLE numbers (
    a Array(Int32)
) ENGINE = Memory;

-- Insert sample data
INSERT INTO numbers VALUES
    ([1,2,4]),
    ([1,5,2,8,-1,0]),
    ([1,5,7,5,8,2]);

SELECT groupArrayIntersect(a) AS intersection FROM numbers;
```

```response title=Response theme={null}
┌─intersection──────┐
│ [1, 2]            │
└───────────────────┘
```
