mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 11:22:12 +00:00
3 lines
207 B
MySQL
3 lines
207 B
MySQL
|
-- Checks that the random seed is different for multiple states of aggregation:
|
||
|
SELECT uniq(x) > 50 FROM (SELECT number, groupArraySample(10)(arrayJoin(range(1000))) AS x FROM numbers(100) GROUP BY number);
|