Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
ClickHouse launches Claude-powered Agents and House Mates partner program at Open House 2026 Read more →
指定された配列の積集合を返します(すべての配列に共通して含まれる要素を返します)。
groupArrayIntersect(x)
x
Any
Array
-- Memoryエンジンでテーブルを作成する CREATE TABLE numbers ( a Array(Int32) ) ENGINE = Memory; -- サンプルデータを挿入する 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;
┌─intersection──────┐ │ [1, 2] │ └───────────────────┘
このページは役に立ちましたか?