mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-16 12:44:42 +00:00
9 lines
315 B
SQL
9 lines
315 B
SQL
drop table if exists numbers_10;
|
|
|
|
create table numbers_10 (number UInt64) engine = MergeTree order by number;
|
|
insert into numbers_10 select number from system.numbers limit 10;
|
|
|
|
SELECT number, (number, toDate('2015-01-01') + number) FROM numbers_10 LIMIT 10 SETTINGS extremes = 1;
|
|
|
|
drop table if exists numbers_10;
|