ClickHouse/tests/queries/0_stateless/02455_count_state_asterisk.sql

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

12 lines
249 B
MySQL
Raw Normal View History

2022-10-01 06:59:26 +00:00
drop table if exists a;
drop table if exists b;
create table a (i int, j int) engine Log;
create materialized view b engine Log as select countState(*) from a;
insert into a values (1, 2);
select countMerge(*) from b;
drop table b;
drop table a;