mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 09:02:00 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
6 lines
352 B
SQL
6 lines
352 B
SQL
SELECT max(arrayJoin(arr)) FROM (SELECT arrayEnumerateUniq(groupArray(intDiv(number, 54321)) AS nums, groupArray(toString(intDiv(number, 98765)))) AS arr FROM (SELECT number FROM system.numbers LIMIT 1000000) GROUP BY intHash32(number) % 100000);
|
|
|
|
SELECT arrayEnumerateUniq([[1], [2], [34], [1]]);
|
|
SELECT arrayEnumerateUniq([(1, 2), (3, 4), (1, 2)]);
|
|
|