mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-10-19 06:50:50 +00:00
7 lines
281 B
SQL
7 lines
281 B
SQL
drop table if exists lc_00800_2;
|
|
create table lc_00800_2 (val LowCardinality(UInt64)) engine = MergeTree order by val;
|
|
insert into lc_00800_2 select number % 123 from system.numbers limit 100000;
|
|
select distinct(val) from lc_00800_2 order by val;
|
|
drop table if exists lc_00800_2
|
|
;
|