mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-14 10:22:10 +00:00
6 lines
206 B
MySQL
6 lines
206 B
MySQL
|
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;
|
||
|
|