ClickHouse/dbms/tests/queries/0_stateless/00337_any_heavy.sql
2016-06-26 16:21:58 +03:00

2 lines
116 B
SQL

SELECT anyHeavy(x) FROM (SELECT intHash64(number) % 100 < 60 ? 999 : number AS x FROM system.numbers LIMIT 100000);