mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-10-19 23:10:50 +00:00
14 lines
459 B
SQL
14 lines
459 B
SQL
drop temporary table if exists wups;
|
|
create temporary table wups (a Array(Nullable(String)));
|
|
select count(), a[1] from wups group by a[1];
|
|
insert into wups (a) values(['foo']);
|
|
select count(), a[1] from wups group by a[1];
|
|
insert into wups (a) values([]);
|
|
select count(), a[1] from wups group by a[1] order by a[1];
|
|
|
|
drop temporary table wups;
|
|
|
|
create temporary table wups (a Array(Nullable(String)));
|
|
insert into wups (a) values([]);
|
|
select a[1] from wups;
|