ClickHouse/dbms/tests/queries/0_stateless/00668_compare_arrays_silviucpp.sql

10 lines
308 B
MySQL
Raw Normal View History

DROP TABLE IF EXISTS array;
CREATE TABLE array (arr Array(Nullable(Float64))) ENGINE = Memory;
INSERT INTO array(arr) values ([1,2]),([3,4]),([5,6]),([7,8]);
2018-07-16 05:12:43 +00:00
select * from array where arr > [12.2];
select * from array where arr > [null, 12.2];
select * from array where arr > [null, 12];
2018-07-16 05:12:43 +00:00
DROP TABLE array;