mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-02 12:32:04 +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;
|