mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 05:32:52 +00:00
5 lines
205 B
SQL
5 lines
205 B
SQL
drop table if exists test.table;
|
|
create table test.table (val Int32) engine = MergeTree order by val;
|
|
insert into test.table values (-2), (0), (2);
|
|
select count() from test.table where toUInt64(val) == 0;
|