ClickHouse/tests/queries/0_stateless/02813_array_agg.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
236 B
MySQL
Raw Normal View History

drop table if exists t;
create table t (n Int32, s String) engine=MergeTree order by n;
insert into t select number, 'hello, world!' from numbers (5);
select array_agg(s) from t;
select aRray_Agg(s) from t group by n;
drop table t;