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