mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-05 15:21:43 +00:00
10 lines
395 B
SQL
10 lines
395 B
SQL
SELECT arrayIntersect(['a', 'b', 'c'], ['a', 'a']);
|
|
SELECT arrayIntersect([1, 1], [2, 2]);
|
|
SELECT arrayIntersect([1, 1], [1, 2]);
|
|
SELECT arrayIntersect([1, 1, 1], [3], [2, 2, 2]);
|
|
SELECT arrayIntersect([1, 2], [1, 2], [2]);
|
|
SELECT arrayIntersect([1, 1], [2, 1], [2, 2], [1]);
|
|
SELECT arrayIntersect([]);
|
|
SELECT arrayIntersect([1, 2, 3]);
|
|
SELECT arrayIntersect([1, 1], [2, 1], [2, 2], [2, 2, 2]);
|