mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 07:01:59 +00:00
10 lines
217 B
SQL
10 lines
217 B
SQL
drop table if exists test1;
|
|
|
|
create table test1 (i Int64) engine MergeTree order by i;
|
|
|
|
insert into test1 values (53), (1777), (53284);
|
|
|
|
select count() from test1 where toInt16(i) = 1777;
|
|
|
|
drop table if exists test1;
|