mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
10 lines
239 B
SQL
10 lines
239 B
SQL
drop table if exists test;
|
|
create table test
|
|
(
|
|
n1 UInt32,
|
|
n2 UInt32 alias murmurHash3_32(n1),
|
|
n3 UInt32 materialized n2 + 1
|
|
)engine=MergeTree order by n1;
|
|
insert into test select * from generateRandom() limit 10;
|
|
drop table test;
|