mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-10-19 06:50:50 +00:00
18 lines
473 B
SQL
18 lines
473 B
SQL
drop table if exists test.tab;
|
|
create table test.tab (date Date, val UInt64, val2 UInt8 default 42, val3 UInt8 default val2 + 1, val4 UInt64 alias val) engine = MergeTree(date, (date, val), 8192);
|
|
desc test.tab;
|
|
select '-';
|
|
desc table test.tab;
|
|
select '-';
|
|
desc remote('127.0.0.2', test.tab);
|
|
select '-';
|
|
desc table remote('127.0.0.2', test.tab);
|
|
select '-';
|
|
desc (select 1);
|
|
select '-';
|
|
desc table (select 1);
|
|
select '-';
|
|
desc (select * from system.numbers);
|
|
select '-';
|
|
|