ClickHouse/dbms/tests/queries/0_stateless/00575_merge_and_index_with_function_in_in.sql
Alexey Zatelepin de46ee4261 fix typo
2018-02-21 15:31:28 +03:00

10 lines
208 B
SQL

DROP TABLE IF EXISTS test.t;
create table test.t(d Date) engine MergeTree(d, d, 8192);
insert into test.t values ('2018-02-20');
select count() from test.t where toDayOfWeek(d) in (2);
DROP TABLE test.t;