ClickHouse/dbms/tests/queries/0_stateless/00647_histogram.sql
Mikhail Surin 021f3b564b add tests
2018-06-22 21:30:13 +03:00

5 lines
312 B
SQL

select histogram(5)(number-10) from (select * from system.numbers limit 20);
select histogram(5)(number) from (select * from system.numbers limit 20);
select histogram(3)(sin(number)) from (select * from system.numbers limit 10);
select histogram(1)(sin(number-40)) from (select * from system.numbers limit 80);