mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
7 lines
229 B
SQL
7 lines
229 B
SQL
drop table if exists histogram;
|
|
create table histogram(num Int64) engine=TinyLog;
|
|
insert into histogram values(-1);
|
|
insert into histogram values(-1);
|
|
select histogram(2)(num) from histogram;
|
|
drop table if exists histogram;
|