ClickHouse/dbms/tests/queries/0_stateless/01097_one_more_range_reader_test.sql

11 lines
246 B
MySQL
Raw Normal View History

drop table if exists t;
create table t (id UInt32, a Int) engine = MergeTree order by id;
insert into t values (1, 0) (2, 1) (3, 0) (4, 0) (5, 0);
alter table t add column s String default 'foo';
select s from t prewhere a = 1;
drop table t;