mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-16 11:22:12 +00:00
10 lines
311 B
SQL
10 lines
311 B
SQL
drop table if exists tab;
|
|
create table tab (x UInt64) engine = MergeTree order by tuple();
|
|
|
|
insert into tab select n from (SELECT number AS n FROM numbers(20)) nums
|
|
semi left join (select number * 10 as n from numbers(2)) js2 using(n)
|
|
settings max_block_size = 5;
|
|
select * from tab order by x;
|
|
|
|
drop table tab;
|