mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 17:41:59 +00:00
5 lines
217 B
SQL
5 lines
217 B
SQL
drop table if exists `table_00653`;
|
|
create table `table_00653` (val Int32) engine = MergeTree order by val;
|
|
insert into `table_00653` values (-2), (0), (2);
|
|
select count() from `table_00653` where toUInt64(val) == 0;
|