ClickHouse/dbms/tests/queries/0_stateless/00668_compare_arrays_silviucpp.sql
2018-07-16 09:06:44 +03:00

10 lines
343 B
SQL

DROP TABLE IF EXISTS test.array;
CREATE TABLE test.array (arr Array(Nullable(Float64))) ENGINE = Memory;
INSERT INTO test.array(arr) values ([1,2]),([3,4]),([5,6]),([7,8]);
select * from test.array where arr > [12.2];
select * from test.array where arr > [null, 12.2];
select * from test.array where arr > [null, 12];
DROP TABLE test.array;