mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-10-19 15:01:03 +00:00
10 lines
213 B
SQL
10 lines
213 B
SQL
DROP TABLE IF EXISTS t_00575;
|
|
|
|
create table t_00575(d Date) engine MergeTree(d, d, 8192);
|
|
|
|
insert into t_00575 values ('2018-02-20');
|
|
|
|
select count() from t_00575 where toDayOfWeek(d) in (2);
|
|
|
|
DROP TABLE t_00575;
|