mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
10 lines
494 B
SQL
10 lines
494 B
SQL
SELECT arraySort(arrayIntersect(['a', 'b', 'c'], ['a', 'a']));
|
|
SELECT arraySort(arrayIntersect([1, 1], [2, 2]));
|
|
SELECT arraySort(arrayIntersect([1, 1], [1, 2]));
|
|
SELECT arraySort(arrayIntersect([1, 1, 1], [3], [2, 2, 2]));
|
|
SELECT arraySort(arrayIntersect([1, 2], [1, 2], [2]));
|
|
SELECT arraySort(arrayIntersect([1, 1], [2, 1], [2, 2], [1]));
|
|
SELECT arraySort(arrayIntersect([]));
|
|
SELECT arraySort(arrayIntersect([1, 2, 3]));
|
|
SELECT arraySort(arrayIntersect([1, 1], [2, 1], [2, 2], [2, 2, 2]));
|