ClickHouse/tests/queries/0_stateless/01496_signedness_conversion_monotonicity.sql
2020-09-14 18:11:40 +08:00

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;