mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 10:52:30 +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;
|